Skip to content
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

Failure to download Imgur content linked from a Reddit post: "[!] Failed to download for URL ..." #62

Closed
floopybird opened this issue Jan 6, 2022 · 1 comment

Comments

@floopybird
Copy link

  • Ripme version: latest release, ripme-2.0.4-13-03e32cb7.jar

Btw, I noticed today that the --version option doesn't spit out a version:

-> java -jar ripme-2.0.4-13-03e32cb7.jar --help
usage: java -jar ripme.jar [OPTIONS]
-4,--skip404 Don't retry after a 404 (not found) error
-a,--append-to-folder Append a string to the output folder name
-d,--saveorder Save the order of images in album
-D,--nosaveorder Don't save order of images
-f,--urls-file Rip URLs from a file.
-h,--help Print the help
-H,--history Set history file location.
-j,--update Update ripme
-l,--ripsdirectory Rips Directory (Default: ./rips)
-n,--no-prop-file Do not create properties file.
-p,--proxy-server Use HTTP Proxy server
([user:password]@host[:port])
-r,--rerip Re-rip all ripped albums
-R,--rerip-selected Re-rip all selected albums
-s,--socks-server Use socks server
([user:password]@host[:port])
-t,--threads Number of download threads per rip
-u,--url URL of album to rip
-v,--version Show current version
-w,--overwrite Overwrite existing files

-> java -jar ripme-2.0.4-13-03e32cb7.jar -v

-> java -jar ripme-2.0.4-13-03e32cb7.jar --version

...no output either way.

  • Java version:

-> java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

  • Operating system:

-> uname -a
Linux localhost.localdomain 3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
-> cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

  • Exact URL you were trying to rip when the problem occurred:

:: (NSFW) Warning ::

Originally trying to rip a reddit user with the following URL and noticed the imgur error & missing file(s):
https://reddit.com/user/HornyHamburger98

I then tested with a specific reddit post URL for that user and got the same error:
https://www.reddit.com/r/gonewild/comments/rworh9/in_keeping_with_showing_you_how_wet_ive_been/

No error at all with the direct imgur URL but it's silently failing to d/l anything, there's just an empty directory left behind:

-> java -jar ripme-2.0.4-13-03e32cb7.jar -l ./rip -H /dev/null -4 -u "https://imgur.com/xL211zE"
-> ls -al rip/imgur_xL211zE/
total 0
drwxrwxrwx 1 nobody users 0 Jan 6 15:18 .
drwxrwxrwx 1 nobody users 0 Jan 6 15:19 ..

  • Please include any additional information about how to reproduce the problem:

Expected Behavior

Rip the Reddit user, including their imgur hosted content. :)

Actual Behavior

Throws error, doesn't download the imgur file(s).

-> java -jar ripme-2.0.4-13-03e32cb7.jar -l ./rip -H /dev/null -4 -u "https://www.reddit.com/r/gonewild/comments/rworh9/in_keeping_with_showing_you_how_wet_ive_been/"
15:06:55.543 [pool-2-thread-1] ERROR com.rarchives.ripme.ripper.DownloadFileThread - [!] Failed to download for URL https://i.imgur.com/xL211zE.mp4

That file can be retrieved with wget...

-> wget https://i.imgur.com/xL211zE.mp4
--2022-01-06 15:07:06-- https://i.imgur.com/xL211zE.mp4
Resolving i.imgur.com (i.imgur.com)... 151.101.48.193
Connecting to i.imgur.com (i.imgur.com)|151.101.48.193|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4732727 (4.5M) [video/mp4]
Saving to: ‘xL211zE.mp4’
100%[===============================================================================================================================================================================================>] 4,732,727 16.8MB/s in 0.3s
2022-01-06 15:07:07 (16.8 MB/s) - ‘xL211zE.mp4’ saved [4732727/4732727]

@soloturn
Copy link

please try again with a new version, which catches exceptions and prints them into the log during loops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants