Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed GUG formatting. Zerochan has a
/search?q=%tag%URL, but unfortunately it has a character limit in my testing. which causes erroneous downloads as the website cuts off the limit mid-tag. For example, it can cut offnekoyamatonekoand all other tags after it, which could produce completely different results than intended.So I opted to make the GUG utilize the main search pages, which require +'s instead of _'s as spaces for tags. Sadly this means:
Tag queries for this downloader currently will require + instead of _ for tags!!!!
The website doesn't translate underscores properly with these URL's. I discussed with Hydrus Developer and they agreed this is sadly the best course of action since URL classes cannot dynamically convert _ to + (yet). Hopefully something in the future.
I also removed the s (ID) parameter. Hydrus Developer says he believes this was previously required, but now it makes the search generate completely unknown requests. The site may use it for something at this point, but it is not needed.
I tested with URL downloader and a gallery tag search. Both work in testing.
URL tested with URL downloader
Tag query tested: