-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deviantART broken image files #112
Comments
Sometimes it seems to do this when the deviant art download link times out. If you open one of these files in notepad, it is an html redirect page that takes you to the original page that it was downloaded from (which then contains an updated link to redownload). The ripper program is renaming from .html back to the expected .png or .jpg. Now we just need to figure out how to make the deviant art ripper extract these "failed links" and retry with updated links reparsed from the page. Though I don't know the inner workings of this program enough to implement this logic, I will throw together a quick little script that will check for these hidden .html files and redownload the real ones. I am still working on it, though. Until thats done, I devised a manual way that works for me. Edit: Simpler method:
Edit 2:: Complicated Manual Method (doesn't download pictures only available as thumbnail): If you sort by size and find all of these failed links, you can rename all of the extensions from whatever they are to .html with a program called Bulk Rename Utility.
Because Firefox disallows opening many html files at once, move all of these html files into their own folder. Open command prompt and navigate to that folder. First, prep Firefox for the abuse by installing Imageblock and Downthemall You should have a little button for image block, set it to block images. Open up a new Window in Firefox Then run these 2 commands in the command window we opened earlier: for /F %i in (url_list.txt) do "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -new-tab "%i" You may have to change the "Program Files (x86)" to "Program Files" Once loaded, use the DownThemAll firefox extension, and press DownThemAll "All Tabs". You may need to find this button by going to "3 lines" Firefox option menu, then customizing your toolbar to contain the DTA buttons. Once that is successful... I suggest changing DownThemAll preferences under its Network Tab to "concurrent downloads=1" and under "Advanced" Max number of Segments Per Download to 1/Disabled. This makes this look less like a mass downloading operation to Deviant Art. The bad part is that, if it was a huge album, we might run into this problem once again while DownThemAll is running, as the time once again expired. Just run the opening command line again, and tell DTA to skip any files it already downloaded when it starts asking about overwriting files. |
Thank you for your quick and detailed response. I will try your method but I hope the creator of the program will find a solution, as I am not familiar with programming. |
Yeah, sorry about the excessively complicated instructions. I'm sure there's a better way (I edited the previous post with simpler instructions that seem to work), and a cleanup script you can run in a directory shouldn't be too hard (Edit:look in first post), as I run into this problem when manually downloading from deviantart. Edit (Better programming change solution, but possibly would require more extensive restructuring): Old (possibly simpler but not foolproof) Delay solution: |
I've had issues getting some download links from deviantart pages. Exhibit A & B: |
I haven't ever encountered this ancient problem, and we're up to RipMe 1.5.5 nowadays, but I'm still on 1.5.2. Window$ 7 Ultimate SP1 x64, Oracle Java SE 8 Update 144 x64, I've ripped dozens of entire galleries (which still are on the disk) and every so often sync my favs folders, no real problems. |
Yeah the dA ripper still has a lot of problems but I think we can probably close this one at this point. I've never seen it either. |
Added hentai2read ripper
The downloader works great most of the time, but once in a while it downloads broken images. The pictures can not be opened with any program and are in some cases just a few bytes big. If I download these images manually they are completely fine.
The files look like this:
The text was updated successfully, but these errors were encountered: