This project enables users to scrape, and download large amount of medias from multiple accounts on Twitter, Tumblr and Youtube.
It integrates a Weibo bot that users could automatically repost recent tweets of some Twitter accounts to Weibo with proper credit, thus users could be able to manage a 'robot' weibo account.
This project is developed under Python2.7.
git clone https://github.com/nancyyanyu/SNSPlay.git
Python packages:
- youtube_dl: popular package to extract and download Youtube videos
- tweepy: Twitter API wrapper Document
- moviepy: video editing package; in this project, is used to convert video to GIF Document
- urllib2
- binascii
- requests
- rsa
- base64
pip install base64,rsa,requests,binascii,urllib2,youtube_dl,tweepy,moviepy
Please firstly check example.py, which demonstrate some basic features and show how to run this project
- Download tweets' medias with searching hashtags on Twitter: twitter_search.py enables user download pictures, videos, and words of the latest several tweets with searching hashtags;
- Download all tweets' medias of specified Twitter accounts:twitter_history.py enables user to download pictures, videos, and words of all tweets of specified list of accounts;
- Generate report of account status of multiple Twitter accounts: twitter_info.py enables user to generate a report of the number of followers of a large amount of Twitter account. It could be used to track accounts growth;
- Convert videos to GIF: as GIF on Twitter would be downloaded in mp4 format, twitter_convertGIF.py enables format transformation from mp4 to gif;
- Scrape medias of Tumblr posts: tumblr.py enables user to scrape gif, pictures, videos, and words of posts from specified Tumblr accounts;
- Download all Youtube videos from a playlist with highest video quality:youtube.py
- Send weibo: send_weibo.py enables users to automatically send Weibo posts with content of specified Twitter accounts' latest posts (with proper credit).
- Yanyu Yan Email: yy2799@columbia.edu
This project is licensed under the Apache License 2.0 - see the LICENSE file for details