Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/easychen/tumblr-like-exporter

Download tumblr photos you liked , or others liked . Or even images in your blog . It supports videos now , see README to enable it
https://github.com/easychen/tumblr-like-exporter

Last synced: 2 days ago
JSON representation

Download tumblr photos you liked , or others liked . Or even images in your blog . It supports videos now , see README to enable it

Awesome Lists containing this project

README

        

# Tumblr like exporter

![](https://ws1.sinaimg.cn/large/40dfde6fly1fxulhoywxpj20un0mm0xe.jpg)

[δΈ­ζ–‡θ―΄ζ˜Ž](README_CN.MD)

## Prerequire
- php( 5.4+ maybe , i use 7 ) cli required ( mac build-in )
- curl command with https ( mac build-in )
- 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`
![](https://ws1.sinaimg.cn/large/40dfde6fly1fxujmqc1b1j20kw0i8tb7.jpg)

- Switch to `Network` , `dashbord` , copy all the text after `cookie:` in the line, refresh if you can't see `dashboard`
![](https://ws1.sinaimg.cn/large/40dfde6fly1fxujh1iezkj20vi0pdae3.jpg)