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

AttributeError: 'NoneType' object has no attribute 'find_all' #376

Open
eelegiap opened this issue Aug 15, 2023 · 8 comments
Open

AttributeError: 'NoneType' object has no attribute 'find_all' #376

eelegiap opened this issue Aug 15, 2023 · 8 comments

Comments

@eelegiap
Copy link

Got the error in the title after trying out some of the demos (twitterscraper Trump -l 1000 -o tweets.json) on the readme. Only thing I did was pip install twitterscraper and the command I mentioned. Below, I've pasted my venv!

beautifulsoup4==4.12.2
billiard==4.1.0
bs4==0.0.1
certifi==2023.7.22
charset-normalizer==3.2.0
coala-utils==0.5.1
idna==3.4
lxml==4.9.3
requests==2.31.0
soupsieve==2.4.1
twitterscraper==1.6.1
urllib3==2.0.4

@elir0d
Copy link

elir0d commented Aug 18, 2023

I got the same error

@bai0012
Copy link

bai0012 commented Oct 2, 2023

me too

@Hectorvallejo
Copy link

Tengo el mismo error = alguien puede ayudar a dar solucion ?

@Andrejy9
Copy link

same Error here, is the repo still working?

@env0id
Copy link

env0id commented Dec 16, 2023

same error

@IIIIIIIop
Copy link

same error, how can i do to solve it

@digglife
Copy link

digglife commented Feb 23, 2024

The last updated date is 4 years ago, when Twitter was still called Twitter. So I don't think it works anymore.

@huonchan
Copy link

In conclusion, it doesn't work.

  • The HTML of the proxy list site being referenced has been changed.
  • The user agent used for forgery is old.

The above problems can be solved, but the fundamental problem is

In the past, Twitter used

  • tags to construct timelines and used them to obtain timeline information, but now Twitter dynamically constructs timelines using JavaScript or something, and at the time of this project's acquisition process, it is physically impossible to obtain the elements that make up the timeline.

    It would probably be quicker to create the same process from scratch, but it would be difficult to reproduce unless there was a method to apply processing to dynamically created things.

  • 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

    9 participants