Skip to content

Fix to GOT after twitter change the class name for the username

Notifications You must be signed in to change notification settings

phil-bell/GetOldTweets-python-FIX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetOldTweets-python-FIX

Fix to GOT after twitter change the class name for the username. It will now return the username when requested.

Twitter have changed the class name for the username from username js-action-profile-name to username u-dir.

To fix it I changed line 35 in got3/manager/TweetManager.py and line 38 in got/manager/TweetManager.py from:

usernameTweet = tweetPQ("span.username.js-action-profile-name b").text();

To:

usernameTweet = tweetPQ("span.username.u-dir b").text();

Anyone is welcome to clone this repo.

I will attempt to maintain GetOldTweets until the original is updated.

You can find the origional repo with its documentation here.

About

Fix to GOT after twitter change the class name for the username

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages