lantriada.blogg.se

Tweet archiver
Tweet archiver





tweet archiver
  1. #Tweet archiver install
  2. #Tweet archiver archive
tweet archiver tweet archiver

#Tweet archiver archive

You cannot archive tweets of a protected timeline: $ twitter-archiver protected_user Run it again and it automatically resumes archiving: $ twitter-archiver stalkr_īrowsing stalkr_ timeline, new tweets: 16 Remaining API requests: 139/150 (hourly limit) See your current unauthenticated API rate limit status: $ twitter-archiver -api-rate It saves tweets in a format you can grep: $ grep -i winbuilder stalkr_Ĩ9264285980696576 11:27:18 CEST RT Dual booting Winbuilder/Win7PE SE and Backtrack 5 on a USB flash drive with XBOOT Give a twitter user to retrieve all tweets and print them: $ twitter-archiver stalkr_īrowsing stalkr_ timeline, new tweets: 200 t -timeline archive own timeline into given file name (requiresĪuthenticate to Twitter using OAuth to archive tweets of private profilesĪnd have higher API rate limits. a -api-rate see current API rate limit status s -save-dir directory to save archives (default: current dir) o -oauth authenticate to Twitter using OAuth (default no) Provide "-" instead of users to read users from standard input. Usage $ twitter-archiverĪrchive tweets of users, sorted by date from oldest to newest, inĭate format is: YYYY-MM-DD HH:MM:SS TZ. Tip: you can use PYTHONPATH environment variable to point at Python Twitter Tools (parent) directory.

#Tweet archiver install

You can choose to install the programs as explained in the README and then use twitter-archiver, or run it directly by using: $ python -uc 'from twitter import archiver archiver.main()' You can find twitter-archiver and twitter-follow on my cloned repository of Python Twitter Tools on github. If you want to archive a protected timeline you have access to, just give -o (-oauth) parameter the script will guide you through the OAuth process that is only asked on first run (tokens are saved in ~/.twitter-archiver_oauth and reused next time). Also note that you have a lower API rate limit when not authenticated. Authentication?īy default, the script does not authenticate to Twitter therefore you can only browse public timelines. Also, it does not include retweets and I want them (include_rts=1). Python Twitter Tools already includes twitter-log to backup tweets, but it does not display them as I want (compact, one per line) and does not support saving to file and resume (everytime you need to retrieve all tweets). So here comes twitter-archiver and twitter-follow, python programs added to Python Twitter Tools to archive any public timeline of tweets in simple text format and to view the list of following/followers of a user. Also, I would like a simple program to give me the list of followers/following of a user.įortunately, Twitter provides a web API and people started to implement it in different languages, like Mike Verdone ( and his great Python Twitter Tools. I would like to have tweets saved in simple text format: date, user, text. But it is all web 2.0 and you cannot use a simple cat or grep to view or search your tweets. Twitter is great to get and share information, quickly.







Tweet archiver