https://github.com/jamepeng/proxy_pool
My proxy_pool project with MongoDB
https://github.com/jamepeng/proxy_pool
flask mongodb proxypool python
Last synced: about 2 months ago
JSON representation
My proxy_pool project with MongoDB
- Host: GitHub
- URL: https://github.com/jamepeng/proxy_pool
- Owner: JamePeng
- License: gpl-3.0
- Created: 2019-03-05T17:32:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-05T18:08:52.000Z (over 7 years ago)
- Last Synced: 2025-02-14T12:18:26.659Z (over 1 year ago)
- Topics: flask, mongodb, proxypool, python
- Language: Python
- Size: 318 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Proxy_Pool
My proxy_pool project with MongoDB
�����������������ں�̨�Զ�ά��״̬.
֮������ѡ������mongodb,�������ʺϴ��������洢,��ѯ����ɾ�IJ�����������redis�����ܶ�,����ά������
1. ��Ҫ������Windowsϵͳ�����²���mongodb���ݿ��(���ݿ�������Ҳ�����˴�ͳ������ʹ�õ�Redis����).
2. MONGO ���ݿ�����,ȷ�����ڵ����ݿ��ͱ����Ѿ�����
MONGO_URL = 'localhost'
MONGO_PORT = 27017
MONGO_DB = 'proxy_ip'
MONGO_TABLE = 'proxy_common'
3. config.py�а����˲ɼ���ҳ������,У����ַ,У�����ں�У����ֵ
4. ��������ݿ��еIJɼ����ݵ�����ֵ�����²���������, ��������ݿ��еIJɼ����ݸ�����ֵ��ʱ��ֹͣ����.
5. У�����ᶨʱУ�����ݿ��еĴ���IP�Ƿ���Ч, ��Ч�Ĵ���ip���������ݿ�����
6. ʹ����, ������������ֻ��ͨ��flask������ҳ��get������ȡ��Ч�Ĵ���ip,ͨ��count������ȡ����������Ч����ip������
7. �����������ļ�, �ʺϿ���������ʱ������, (1)�������ݿ�����, (2)�������ݿ�(Ĭ��·��:D:\MongoDB\data\db), (3)���д�����