Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have disapointed :( it is not working #107

Open
rsa408 opened this issue Dec 7, 2020 · 3 comments
Open

I have disapointed :( it is not working #107

rsa408 opened this issue Dec 7, 2020 · 3 comments

Comments

@rsa408
Copy link

rsa408 commented Dec 7, 2020

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'
@hamitaksln
Copy link

hamitaksln commented Jan 2, 2021

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

@konka95git
Copy link

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

@konka95git
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants