Skip to content

get the user likes from X.com and save the image

Notifications You must be signed in to change notification settings

haturatu/xd_likes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

xd_likes

There are two scripts: likelog.py for retrieving the likes section from X.com (Twitter), and xd.py for saving images from user IDs.

likelog.py

This script retrieves the likes section and writes it to a log file. In this case,

nohup ./likelog.py &

It is recommended to run it in the background. (Unless you're very free, of course.)

I prefer to keep the log files as they are and do not perform any formatting at this stage. When using the log file in xd.py later, please output it like this:

cat fav.log | grep -oP "X id: .*,"| sort | uniq | grep -oP "\".*\",$" | sed -e "s/\"//g" -e "s/,//g" > xids

xd.py

This script saves images. Please put the values obtained from grep into USER_SCREEN_NAMES. Then just run it:

nohup ./xd.py &

About

get the user likes from X.com and save the image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages