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

Doesn't scrap anything. #189

Open
AleksandrovichK opened this issue May 2, 2021 · 8 comments
Open

Doesn't scrap anything. #189

AleksandrovichK opened this issue May 2, 2021 · 8 comments

Comments

@AleksandrovichK
Copy link

AleksandrovichK commented May 2, 2021

Hey guys!
Is this thing still working? I'm asking cuz I was unable to reproduce any example of yours:

from twitter_scraper import Profile
profile = Profile('elonmusk')

Returns UnboundLocalError: local variable 'html' referenced before assignment

And


from twitter_scraper import get_trends
get_trends()

Returns JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Both of them seem like some inner bugs so I'm wondering maybe I do something wrong?


My platform: MacOS Big Sur
A version of lib: 0.4.4
Tried to install from pip / Github: none works

@andret6
Copy link

andret6 commented May 4, 2021

Getting the same error.

Platform: windows 10 pro
Python: 3.79
using pip installed version after downloading github version

@ghost
Copy link

ghost commented May 5, 2021

definitely a garbage module. Not working at all.

@bisguzar
Copy link
Owner

bisguzar commented May 5, 2021

What kind of savage speech is this @ThePlugJumbo ? This is how dependent softwares work. If something changed on one of dependencies the software will be affected of this. You can create a PR to fix this problem, also its how open source works. I'm not one of your employees, so I don't have to do it for you.

PS: I'll work on this issue, but I didnt scheduled yet. As I said on previous issues, Twitter changed something and twitter-scraper not working for now.

@AleksandrovichK
Copy link
Author

Oh that's a pity to hear 😔
Anyway, thanks for quick response @bisguzar

If it won't be difficult for you I would highly appreciate if you pinged this issue when you done with fixes :)

Thanks again. It's a great job anyway, don't listen to anyone who says it's a garbage.

@bisguzar
Copy link
Owner

bisguzar commented May 7, 2021

I'm working hard on my job nowadays, so I'm staying away from computer in my freetimes instead of developing open source. If I can create a space in my calendar I'll search the issue. Ofcourse I can ping the issue. Thanks for your interest.

@kargaroc
Copy link

kargaroc commented Jul 8, 2021

Is there any alternative to this?

@weber-stephen
Copy link

I was able to use Twint(https://github.com/twintproject/twint), but you have to install using

pip install git+https://github.com/twintproject/twint.git#egg=twint

@salvadornava01
Copy link

Hey guys! Is this thing still working? I'm asking cuz I was unable to reproduce any example of yours:

from twitter_scraper import Profile
profile = Profile('elonmusk')

Returns UnboundLocalError: local variable 'html' referenced before assignment

And


from twitter_scraper import get_trends
get_trends()

Returns JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Both of them seem like some inner bugs so I'm wondering maybe I do something wrong?

My platform: MacOS Big Sur A version of lib: 0.4.4 Tried to install from pip / Github: none works

I'm getting the same error. :(

Repository owner deleted a comment from mahrtayyab Apr 17, 2022
Repository owner deleted a comment from mahrtayyab Sep 29, 2022
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

6 participants