Creates a button to download all images from gallery in a single .zip file.
< Spätná väzba na GBT gallery downloader (GBTGD)
I appreaciate your comment and I'm sorry for the inconvenience and waiting. I couldn't replicate the problem at first, next time (I hope there is not though) please include a link/id so it is easier for me to replicate.
The problem was not the age of the gallery (I had build in methods to catch the different versions of gallery handling over time) but if that gallery had comments, only few galleries do have comments so I didn't run accross that during testing.
Reason for error: It was trying to fetch the avatars of user comments and images included in comments - as comments and gallery pictures are in the same container (why ever one would do that...).
That problem should be fixed with the latest version (5.3) I'm uploading right now.
I would appreciate if you can report back if the problem is solved.
Thank you for your commitment to helping, I'll send you a link here to show if it works, this gallery has been posted for 3 years: https://www.gayboystube.com/galleries/cover-boys-gay-tube-1199167 .html; When I click on download it downloads an empty pdf without images. However, this only occurs in posts over 2 years old. I'll try to attach the prints I made here to try to help you identify the problems.
I tried your gallery and it works without problem. It generates a 154MB zip file with 418 images as expected.
To me it sounds like you didn't grant the script full domain access rights when it asked, but only to a specific subdomain (media-2-albums.gayboystube.com in your case, that's where the newer galleries are hosted). To check that on the script side:
Open the script in Tamper Monkey
Next to "Editor" (Éditeur) click "Settings" (Paramètres)
Scroll down to "XHR security" (Sécurité XHR): "User Domain Whitelist" (Liste blanche de domaines de l'utilisateur) should list "gayboystube.com" (no subdomain). If it lists a subdomain (e.g. media-2-albums.gayboystube.com) you have only granted the script access to the subdomain for new albums when it asked, not the complete domain. In that case edit the entry to remove the subdomain so the entry is only "gayboystube.com".
Background: These access rights need to be granted by the user for obvious security reasons, they can't be added automatically. Once rights are granted, Tamper Monkey will not ask again if new rights would be required. So as you granted it access to the new albums (media-2...) only and not for the whole domain it regards this grant as exclusive and didn't ask again for media-1... where the old galleries are hosted.
Please kindly change your review if this solved the problem. The bug was on the user-side then :)
With next update I'll add an instruction in the script for TamperMonkey to request full domain access on first connection. At least for users of TamperMonkey on FF with standard configuration that should more clarify the TamperMonkey dialogue and hopefully avoid the problem of insufficient rights granted by the user. The user can still only grant limited rights though if he actively chooses to do so.
It is an excellent and functional script, however I ask that the author please check that galleries over 2 years old do not download the files, I would like you to check the possibility of updating the script to download these older ones