default-scraper-1.1.1


توضیحات

Web Scraper
ویژگی مقدار
سیستم عامل OS Independent
نام فایل default-scraper-1.1.1
نام default-scraper
نسخه کتابخانه 1.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Seongbum Seo
ایمیل نویسنده sbumseo@bigpicture.team
آدرس صفحه اصلی https://github.com/bigpicture-kr/default-scraper
آدرس اینترنتی https://pypi.org/project/default-scraper/
مجوز MIT
# default-scraper Python Web Scraper ## Features - Scrap all search results for a keyword entered as an argument. - Can be saved as `.csv` and `.json`. - Also collect user data who uploaded contents included in search results. ## Usage ### Install ```bash pip install default-scraper ``` or ```bash pip install git+https://github.com/Seongbuming/crawler.git ``` ### Scrap Instagram contents in python script ```python from default_scraper.instagram.parser import InstagramParser USERNAME = "" PASSWORD = "" KEYWORD = "" parser = InstagramParser(USERNAME, PASSWORD, KEYWORD, False) parser.run() ``` ### Scrap Instagram contents using bash command Run following command to scrap contents from Instagram: ```bash python main.py --platform instagram --keyword {KEYWORD} [--output_file OUTPUT_FILE] [--all] ``` Use `--all` or `-a` option to also scrap unstructured fields. ## Data description ### Instagram - Structured fields - `pk` - `id` - `taken_at` - `media_type` - `code` - `comment_count` - `user` - `like_count` - `caption` - `accessibility_caption` - `original_width` - `original_height` - `images` - Some fields may be missing depending on Instagram's response data. ## Future works - Will support scraping from more platform services.


نیازمندی

مقدار نام
==0.1.3 appnope
==0.2.0 backcall
==4.11.2 beautifulsoup4
==6.0.0 bleach
==2022.12.7 certifi
==3.0.1 charset-normalizer
==1.6.6 debugpy
==5.1.1 decorator
==0.19 docutils
==0.4 entrypoints
==3.4 idna
==6.0.0 importlib-metadata
==5.10.2 importlib-resources
==6.16.2 ipykernel
==7.34.0 ipython
==3.2.3 jaraco.classes
==0.18.2 jedi
==7.4.9 jupyter-client
==4.12.0 jupyter-core
==23.13.1 keyring
==2.1.0 markdown-it-py
==0.1.6 matplotlib-inline
==0.1.2 mdurl
==9.0.0 more-itertools
==1.5.6 nest-asyncio
==1.21.6 numpy
==23.0 packaging
==1.3.5 pandas
==0.8.3 parso
==4.8.0 pexpect
==0.7.5 pickleshare
==1.9.6 pkginfo
==3.0.36 prompt-toolkit
==5.9.4 psutil
==0.7.0 ptyprocess
==2.14.0 Pygments
==2.8.2 python-dateutil
==2022.7.1 pytz
==25.0.0 pyzmq
==37.3 readme-renderer
==2.28.2 requests
==0.10.1 requests-toolbelt
==2.0.0 rfc3986
==13.2.0 rich
==1.16.0 six
==2.3.2.post1 soupsieve
==6.2 tornado
==5.9.0 traitlets
==4.0.2 twine
==4.4.0 typing-extensions
==1.26.14 urllib3
==0.2.6 wcwidth
==0.5.1 webencodings
==3.11.0 zipp


نحوه نصب


نصب پکیج whl default-scraper-1.1.1:

    pip install default-scraper-1.1.1.whl


نصب پکیج tar.gz default-scraper-1.1.1:

    pip install default-scraper-1.1.1.tar.gz