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

[Site Request] IMX.to #1289

Closed
S4MS3P101 opened this issue Feb 1, 2021 · 17 comments
Closed

[Site Request] IMX.to #1289

S4MS3P101 opened this issue Feb 1, 2021 · 17 comments

Comments

@S4MS3P101
Copy link

Could you please look in to this site!!! (imx.to) No suitable extractor found for this one.
Any way to download a whole gallery from this site?

@mikf
Copy link
Owner

mikf commented Feb 8, 2021

URLs to single images are already supported, e.g. https://imx.to/i/1qdeva.
Could you post an example gallery?

Also, if a gallery page only lists all URLs to all its individual images, you should be able to use gallery-dl r:https://imx.to/<gallery-url>.

@S4MS3P101
Copy link
Author

S4MS3P101 commented Feb 9, 2021 via email

@Qwertyus3D
Copy link

@mikf Hello! I'm not sure, if something is changed on the site, but currently URLs like imx.to/i/... cannot be downloaded via program, it just shows http error and refuse connections.

@Hrxn
Copy link
Contributor

Hrxn commented Feb 22, 2023

Verbose log? Example URL?

@mikf
Copy link
Owner

mikf commented Feb 23, 2023

All tests still pass and a random, relatively recent imx.to link also downloads without any issue.

refuse connections.

Maybe your IP (range) got blocked by imx.to?

@Qwertyus3D
Copy link

@mikf I can access the site via browser and view/save any picture, e. g. https://imx.to/i/1qdeva. But the program is doing nothing, just waits for some time, then closes. I'm sure imx.to is not blocked by my provider, so it's not logical for me to be blocked in program, while not blocked in browser.

@Qwertyus3D
Copy link

In browser, the site always shows me "Continue to your image" button. Before it's pressed, the image doesn't appear, so maybe it's kinda problem where the program is getting stuck.

@mikf
Copy link
Owner

mikf commented Feb 26, 2023

$ gallery-dl https://imx.to/i/1qdeva
/tmp/imxto/test-テスト.png

Try -o browser=firefox to pretend to be a real browser.

@Qwertyus3D
Copy link

Nothing helps. I even tried to extract cokies from browser or set Firefox as source for cookies, but still no luck.
Here is the example of my bat files, maybe something is wrong?

gallery-dl.exe -D 1 -o browser=firefox --cookies "cookies-imx-to.txt" "https://imx.to/i/1qdeva"
gallery-dl.exe -D 1 -o browser=firefox --cookies-from-browser firefox "https://imx.to/i/1qdeva"

@mikf
Copy link
Owner

mikf commented Feb 27, 2023

Run gallery-dl --write-pages https://imx.to/i/1qdeva, take a look at the generated 01_https_imx.to_i_1qdeva.txt file, and post it here so we can see what's different on your end.

@Qwertyus3D
Copy link

Qwertyus3D commented Feb 27, 2023

It doesn't even generate the file. Just waits for 1 minute approximately, then closes.

@rautamiekka
Copy link
Contributor

Are you saying gdl opens up into its own window ? That shouldn't happen without explicitly telling it to or (which you shouldn't do) you run the executable from a file manager or a shortcut.

@Qwertyus3D
Copy link

Qwertyus3D commented Feb 27, 2023

The problem is only with imx.to, other sites work just fine, so it's not about how I run the program. And it doesn't open up in it's own window, it's runing via cmd.exe console. In the case with imx.to I see only initial command line, no further progress. Downloading from other sites I see the process, and everything else also works properly.

@rautamiekka
Copy link
Contributor

Use the --verbose flag to see more. Should always use it.

@Qwertyus3D
Copy link

Qwertyus3D commented Feb 28, 2023

Thanks, it helped a bit. It looks like site blocks me by IP, it terminates connections. Probably I can access it via browser, because I use the pac-file for automatic proxies on problematic sites. Is there any way to set up same pac-file (web URL) for gallery-dl via command line?

@mikf
Copy link
Owner

mikf commented Mar 1, 2023

There isn't (#998). You'll have to manually specify a proxy URL with --proxy or you set HTTP_PROXY and HTTPS_PROXY environment variables.

@adeguntoro
Copy link

Not sure why it does not work on you, i use windows 10 2004,i can download full gallery from imx website. Or, try JD2 downloader, copy galery url, and use Grab feature.

mikf added a commit that referenced this issue Apr 19, 2023
@mikf mikf closed this as completed Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants