Skip to content

A Twitter, Tumblr and Youtube scaper; A 'robot' weibo account automatically reposting recent tweets of multiple Twitter accounts to Weibo with proper credit

License

Notifications You must be signed in to change notification settings

nancyyanyu/snsPlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNSPlay

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.

Getting Started

This project is developed under Python2.7.

git clone https://github.com/nancyyanyu/SNSPlay.git

Prerequisites

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

Running the example

Please firstly check example.py, which demonstrate some basic features and show how to run this project

Content

  • 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).

Authors

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details

About

A Twitter, Tumblr and Youtube scaper; A 'robot' weibo account automatically reposting recent tweets of multiple Twitter accounts to Weibo with proper credit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages