dixudx / tumblr-crawler

Easily download all the photos/videos from tumblr blogs. 下载指定的 Tumblr 博客中的图片,视频
1.15k stars 347 forks source link

图片都下来了 视频没有 #36

Open real3841 opened 7 years ago

real3841 commented 7 years ago

Downloading tumblr_oq86meTiUR1w2sarao5_250.jpg from https://68.media.tumblr.com/3fa3f7c2ad890e3a0a20e3aa95fb77da/tumblr_oq86meTiUR1w2sarao5_250.jpg.

Traceback (most recent call last): File "tumblr-photo-video-ripper.py", line 288, in CrawlerScheduler(sites, proxies=proxies) File "tumblr-photo-video-ripper.py", line 149, in init self.scheduling() File "tumblr-photo-video-ripper.py", line 162, in scheduling self.download_media(site) File "tumblr-photo-video-ripper.py", line 165, in download_media self.download_photos(site) File "tumblr-photo-video-ripper.py", line 176, in download_photos self._download_media(site, "photo", START) File "tumblr-photo-video-ripper.py", line 199, in _download_media data = xmltodict.parse(response.content) File "/usr/local/lib/python3.5/site-packages/xmltodict.py", line 330, in parse parser.Parse(xml_input, True) xml.parsers.expat.ExpatError: not well-formed (invalid token): line 19, column 4010 ➜ tumblr-crawler git:(master) ✗

dixudx commented 7 years ago

@real3841 Sorry for the late reply. Have you used the latest code? It seems that you're requesting a private blog that needs login/authentication.

real3841 commented 7 years ago

hi Dixudx,

no. i have try many blog, but all of them are same.

dixudx commented 7 years ago

@real3841 Have you enabled the proxy? Any detailed log?