craigsgenerator-0.1.1
توضیحات
Iterate through Craig's list
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | craigsgenerator-0.1.1 |
| نام | craigsgenerator |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Thomas Levine |
| ایمیل نویسنده | _@thomaslevine.com |
| آدرس صفحه اصلی | https://github.com/tlevine/craigsgenerator.git |
| آدرس اینترنتی | https://pypi.org/project/craigsgenerator/ |
| مجوز | AGPL |
Craig's Generator
=================
Read listings Pythonically.
Examples
---------
Generate listings.
.. code-block:: python
from craigsgenerator import craigsgenerator
for listing in craigsgenerator(sites = ['austin.craigslist.org'],sections=['sub']):
print(listing)
Downloaded files are cached by default and refreshed
if they're older than a day. Change the directory by
specifying the :code:`cachedir`.
.. code-block:: python
from craigsgenerator import Section
for listing in Section('austin','sub', cachedir = 'downloads'):
print(listing)
نحوه نصب
نصب پکیج whl craigsgenerator-0.1.1:
pip install craigsgenerator-0.1.1.whl
نصب پکیج tar.gz craigsgenerator-0.1.1:
pip install craigsgenerator-0.1.1.tar.gz