crawlerHelper-0.0.1
توضیحات
tools which can easy the process of making crawler
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | crawlerHelper-0.0.1 |
| نام | crawlerHelper |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Wyatt Huang |
| ایمیل نویسنده | p@hty.email |
| آدرس صفحه اصلی | https://gitlab.com/snippets/1873717 |
| آدرس اینترنتی | https://pypi.org/project/crawlerHelper/ |
| مجوز | - |
# Introduction:
This class can be used in crawler project. And it contain two function:
1. proxies IP
2. hide header
If also used pkl cache to speed up the abstract information from IP Pool
cache will be expired in one day
How to use:
create new crawlerComponent object, and then,you can use:
1. get_an_ip: get a random IP
2. get_a_header: get a random header
3. updateIpLib: update the ip library (original set as once per day)
methods to use
---
> Class Version: 2.0.0 in https://gitlab.com/snippets/1873717
نحوه نصب
نصب پکیج whl crawlerHelper-0.0.1:
pip install crawlerHelper-0.0.1.whl
نصب پکیج tar.gz crawlerHelper-0.0.1:
pip install crawlerHelper-0.0.1.tar.gz