45

GitHub - easychen/tumblr-like-exporter: Download tumblr photos you liked , or o...

 5 years ago
source link: https://github.com/easychen/tumblr-like-exporter
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.MD

Tumblr like exporter

中文说明

Prerequire

  • php( 5.4+ maybe , i use 7 ) cli required
  • Double check your terminal env whether can visit tumblr directly , esp in China

Usage

  • Enter terminal
  • Git clone this repo
git clone https://github.com/easychen/tumblr-like-exporter.git
  • cd into it , create cookie.txt , save your tumblr cookie to it ( see below )
  • Run php robo.phar export to parse all the images
  • Run php robo.phar download to download them to photos folder under this repo when parsing finished
  • You can download using other tools , run php robo.phar save2txt generate a txt image list to import
  • Star the repo if you like it ?

It can download photos in blog

  • Create next.txt , put the blog url in it just like https://www.tumblr.com/blog/one-of-YOUR-blog-name
  • Run php robo.phar export , it will ask whether to download this page , just press enter ..

It won't download video by default , but you can change this by run php robo.phar export video instead of php robo.phar export

How to find cookie

  • Open Chrome , sign in tumblr , normally you will on https://www.tumblr.com/dashboard

  • Click menu on the right top , more tools , developer tools

  • Switch to Network , dashbord , copy all the text after cookie: in the line, refresh if you can't see dashboard


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK