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

Can't download Ugoiras when "downloadresized" is active #648

Closed
jonatanm27 opened this issue Mar 6, 2020 · 2 comments
Closed

Can't download Ugoiras when "downloadresized" is active #648

jonatanm27 opened this issue Mar 6, 2020 · 2 comments
Labels

Comments

@jonatanm27
Copy link

jonatanm27 commented Mar 6, 2020

Prerequisites

  • [*] Did you read FAQ section?
  • [*] Did you test with the latest releases or commit ?

Description

The option of allowing to download the "master" version of the images works perfectly in normal cases, but when it tries to download an Ugoira while this option is set to True, it can't download it and skip to the next image; provably because the Ugoira don't have "master" versions (I guess). And yes, this don't happen if I desactive the "downloadresized" option.

Steps to Reproduce

Trying to download an Ugoira while the "downloadresized" option is still active (or True), either individually (by image_id) or by downloading an entire gallery (by member_id), or any other option.

Expected behavior: Download the pack of images and then create the Ugoira

Actual behavior: The program can't find the URL of the Ugoira, and then fail to download it:
Image URL : https://tc-pximg01.techorus-cdn.com/img-zip-ugoira/img/2020/03/04/02/40/34/79880686_ugoira1920x1080.zip_ugoira600x600.zip
Filename : C:\Users\Jonatan\Downloads\Programs\pixivutil20200228\ばっさ (3320140)\79880686_ugoira1920x1080 - 歌う栞桜さん.zip_ugoira600x600
Checking local filename... Getting remote filesize...
Using Referer: https://www.pixiv.net/artworks/79880686
No file size information!
Remote filesize = -1 B (-1 Bytes)
Start downloading... Using Referer: https://www.pixiv.net/artworks/79880686
[download_image()] HTTP Error: HTTP Error 404: Not Found at https://tc-pximg01.techorus-cdn.com/img-zip-ugoira/img/2020/03/04/02/40/34/79880686_ugoira1920x1080.zip_ugoira600x600.zip
Image url not found/failed to download: 79880686

Versions

This happen obviously in the latest version (20200228) because this one added the "downloadresized" option

@Nandaka Nandaka added the Bug label Mar 7, 2020
@Nandaka Nandaka closed this as completed in e118117 Mar 7, 2020
@Nandaka
Copy link
Owner

Nandaka commented Mar 7, 2020

try the latest releases: https://github.com/Nandaka/PixivUtil2/releases

@jonatanm27
Copy link
Author

Thank you for fixing it that fast!
Works perfect now

35122 pushed a commit to 35122/PixivUtil2 that referenced this issue Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants