Leeiio / tumblr-downloader

Easily download all the photos from a Tumblr blog.
MIT License
169 stars 41 forks source link

Unknown error, please try it again later. #6

Open ycarbon opened 5 years ago

ycarbon commented 5 years ago

Mac OS High Sierra

I find this error with any blog. Help would be appreciated Do I have to create a tumblr application before execution? How? Thanks in advance!

tumblr-dl 1youth.tumblr.com /Volumes/Datos/TumblrBackup Downloading photos from 1youth.tumblr.com, concurrency=8 ... Crawling posts from 0 to 50... ✔ Crawled posts from 0 to 50 Unknown error, please try it again later.

Leeiio commented 5 years ago

You don't need to create a tumblr application before execution. Which version if Nodejs do you install? You can type node -v and tell me, i will test on that version.

ycarbon commented 5 years ago

node -v v10.14.2

Thank you Leeiio

Leeiio commented 5 years ago

I have tested my code on v10.14.2, but everything is ok. Can you open the link http://1youth.tumblr.com/api/read?type=photo&num=1&start=0 in you browser and tell me the result.

ycarbon commented 5 years ago

Hello again, here is the result...

This XML file does not appear to have any style information associated with it. The document tree is shown below.

- Scorpio - 18 -

https://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_500.jpg https://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_500.jpg https://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_400.jpg https://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_250.jpg https://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_100.jpg https://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_75sq.jpg
ycarbon commented 5 years ago

And here you have a screenshot of the xml file... Thank you

xml

Leeiio commented 5 years ago

It's weird :( Because the error message 'Unknown error, please try it again later.' only shows when xml2js can not parse the xml document. You can try this in you Terminal curl http://1youth.tumblr.com/api/read\?type\=photo\&num\=1\&start\=0 and tell me the result.

ycarbon commented 5 years ago

Here is the result... :-(

curl http://1youth.tumblr.com/api/read\?type\=photo\&num\=1\&start\=0 <?xml version="1.0" encoding="UTF-8"?>

<p>- Scorpio - 18 -</p>https://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_500.jpghttps://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_500.jpghttps://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_400.jpghttps://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_250.jpghttps://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_100.jpghttps://66.media.tumblr.com/a8957d8e5cbfd0b9a657759ae1073990/tumblr_nzvq01ycBH1sm9wdio1_75sq.jpg
Leeiio commented 5 years ago

Have you tried to reinstall the tumblr-dl? I've no idea right now, i will do more test later.

ycarbon commented 5 years ago

I'm going to try to reinstall tumblr-dl (I will not be able to do it until a several hours) and I'll give you feedback Thank you again!

rrytter commented 5 years ago

Same here with node 8.14.0 on Ubuntu WSL and Debian 9

ycarbon commented 5 years ago

Hello Leeiio I had reinstalled tumbr-dl and the problem continues... :-o

Leeiio commented 5 years ago

@rrytter @ycarbon I have fix the problem(maybe), so could you please reinstall the tumblr-dl? The latest version is 0.1.2 :)

ycarbon commented 5 years ago

Hello @Leeiio I'm afraid that the problem is not fixed, I have installed the latest version and the problem is the same... :-( Thank you for your support

tumblr-dl 1youth.tumblr.com /Volumes/Datos/TumblrBackup Downloading photos from 1youth.tumblr.com, concurrency=8 ... Crawling posts from 0 to 50... ✔ Crawled posts from 0 to 50 Unknown error, please try it again later.

Leeiio commented 5 years ago

@ycarbon Maybe you can git clone my code, and open the tumblr.js file, add code console.log(body) after line 98 and add code console.log(err) after line 99, and npm install in the root folder of project, then run tumblr-downloader with node ./tumblr.js 1youth.tumblr.com /Volumes/Datos/TumblrBackup