Giter Club home page Giter Club logo

tumblr-like-exporter's Introduction

Tumblr like exporter

中文说明

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

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

tumblr-like-exporter's People

Contributors

easychen avatar mkody avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tumblr-like-exporter's Issues

Cannot download video

Having used
php robo.phar export video and
php robo.phar download .
However, videos can only be found in "export video" steps, rather than "download" step. Only pics are downloaded, no videos are downloaded.

[Feature]没有断点记录

因为代理环境不稳定,常常访问4-5个页面就会断开,重新开始又从1开始,永远 loop 不完

curl: (3) Illegal characters found in URL

Hi there!

My scripts are these:

$ vim next.txt // i write : https://somename.tumblr.com
$ php robo.phar export

then then terminal returns this error:

curl: (3) Illegal characters found in URL

I googled the problem, maybe it's something wrong with the URL that "curl" gets?

Thank you for your reply.

curl: (56) Unexpected EOF

I encountered this issuse when i entered the following command:
proxychains php robo.phar export
the response:

ProxyChains-3.1 (http://proxychains.sf.net)
?  Please enter tumblr username( which show in url like https://www.tumblr.com/blog/username ) who's like to download , for yourslef's like just press enter : 
➜  download and parse page https://www.tumblr.com/likes 🔍 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0|DNS-request| www.tumblr.com 
|S-chain|-<>-127.0.0.1:1080-<><>-4.2.2.2:53-<><>-OK
|DNS-response| www.tumblr.com is 119.161.5.26
|S-chain|-<>-127.0.0.1:1080-<><>-119.161.5.26:443-<><>-OK
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (56) Unexpected EOF
➜  image url saved... 🖼 

this is my php version:
PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.