Giter Site home page Giter Site logo

meetmangukiya / instagram-scraper Goto Github PK

View Code? Open in Web Editor NEW
933.0 29.0 83.0 11 KB

Scrape the Instagram frontend. Inspired from twitter-scraper by @kennethreitz.

License: MIT License

Python 100.00%
instagram no-authentication javascript client scraping python-3-6 requests-html instagram-scraper

instagram-scraper's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

instagram-scraper's Issues

Im a newb here... Im not sure where to put the tags for "sunset" and "20 pics....

Im a newb here and im not sure where to put the tags and count ? can some one give me a example ? the one is the description is not enough for me to get it ... i keep running into the same error

er.py", line 117, in
assert args.tags, "Enter tags to scrape! Use --tags option, see help."
AttributeError: 'Namespace' object has no attribute 'tags'

win10 环境下 使用 render方法 报错

OSError: [WinError 14001] 应用程序无法启动,因为应用程序的并行配置不正确。有关详细信息,请参阅应用程序事件日志,或使用命令行 sxstrace.exe 工具。

unicode error

~/Downloads/instagram-scraper => python3 instagram_scraper.py  --tag test
[test] downloaded https://scontent-ort2-2.cdninstagram.com/vp/188d7488bf24b1ea94461e9e6881a168/5BE4C024/t51.2885-15/s150x150/e35/35155975_454524598306381_4206684960490258432_n.jpg as 0.jpg in data/test
Traceback (most recent call last):
  File "instagram_scraper.py", line 101, in <module>
    main(args.tags, args.count)
  File "instagram_scraper.py", line 89, in main
    _single_tag_processing(tag, total_count)
  File "instagram_scraper.py", line 84, in _single_tag_processing
    ', '.join(mentions)
UnicodeEncodeError: 'ascii' codec can't encode character '\u015f' in position 193: ordinal not in range(128)

"Unable to render page, Try increasing timeout"

I've installed all the dependencies and trying to run it via the command line like this:
python3.6 instagram_scraper.py --tags billfish --count 10

However, I'm getting the following error:

Traceback (most recent call last): File "instagram_scraper.py", line 101, in <module> main(args.tags, args.count) File "instagram_scraper.py", line 89, in main _single_tag_processing(tag, total_count) File "instagram_scraper.py", line 70, in _single_tag_processing tag, total_count)): File "instagram_scraper.py", line 34, in scrape_instagram_tag req.html.render(scrolldown=page) File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\r equests_html.py", line 590, in render raise MaxRetries("Unable to render the page. Try increasing timeout") requests_html.MaxRetries: Unable to render the page. Try increasing timeout

Any ideas?

Thank you.

Add --continue option

It should read the data from csv file and assume that those images already exist, and continue from there...

Search on follower. following and likers

hi please help me to find endpoint for find specific user on follower ( i want to know is "username" in folllower ,following or liker)

i also need endpoint for search on following and post likers.

thank you 🙏🙏🙏🙏🙏❤️❤️❤️❤️❤️❤️

No module named 'requests_html'

After the pip install -r requirements.txt

Traceback (most recent call last):
  File "instagram_scraper.py", line 10, in <module>
    from requests_html import HTMLSession
ModuleNotFoundError: No module named 'requests_html'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.