GithubHelp home page GithubHelp logo

Comments (3)

hamitaksln avatar hamitaksln commented on July 23, 2024

You can use this for now. It works. I've requested for pulling.
https://github.com/hamitaksln/instagram-crawler

from instagram-crawler.

konka95git avatar konka95git commented on July 23, 2024

You can use this for now. It works. I've requested for pulling.
https://github.com/hamitaksln/instagram-crawler

Hi there, thanks so much for your help. It works somehow but the results still cannot write to the output folder:
I got the following error:

Exception ignored in: <function Popen.__del__ at 0x00000266D0695040>
Traceback (most recent call last):
  File "D:\Python\lib\subprocess.py", line 945, in __del__
    self._internal_poll(_deadstate=_maxsize)
  File "D:\Python\lib\subprocess.py", line 1344, in _internal_poll
    if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:
OSError: [WinError 6] The handle is invalid

Thanks in advance for your reply :) Really appreciate it!
KL

from instagram-crawler.

konka95git avatar konka95git commented on July 23, 2024

I installed requirements and changed the User and Password.

λ python crawler.py hashtag -t Life -o ./output --fetch_details

DevTools listening on ws://127.0.0.1:7031/devtools/browser/c98d49da-9034-4d32-8591-32b5eff7b051
[1207/224709.954:ERROR:command_buffer_proxy_impl.cc(122)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[1207/224713.804:INFO:CONSOLE(401)] "Uncaught (in promise) undefined", source: https://www.instagram.com/static/bundles/metro/ConsumerLibCommons.js/ebead6081010.js (401)
Traceback (most recent call last):
  File "crawler.py", line 96, in <module>
    get_posts_by_hashtag(args.tag, args.number or 100, args.debug), args.output
  File "crawler.py", line 42, in get_posts_by_hashtag
    ins_crawler = InsCrawler(has_screen=debug)
  File "D:\instagram-crawler-master\inscrawler\crawler.py", line 70, in __init__
    self.login()
  File "D:\instagram-crawler-master\inscrawler\crawler.py", line 87, in login
    login_btn.click()
AttributeError: 'NoneType' object has no attribute 'click'

I think you may want to get the content from private ins account which can not be done. So you got this error.

from instagram-crawler.

Related Issues (20)

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.