Skip to content

Conversation

@Drakonas
Copy link

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 off nekoyama to neko and 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:

nekomata+okayu -sketch -chibi+only -column+lineup -a-pose -t-pose -oversized+object -cocomayo29+(tomato) -kujirako+(user+wusc5438) -kawara+hajime -twumi -dohoon -yuuji+(sdcg00) -kuroinu+youhei -nakayama+tooru -kiritoma -zabuton -hyde+(tabakko) -tada+no+shika -aoi+himari -tauyoshi728 -sunnysideup -sugar+maze -mameda10u -zero+(muftisaili) -suiso+(owp) -kukie-nyan -pohitashi -kotomaru+428 -a+hiru+duck -yumi5469 -coco+(taiggerrock) -sample+watermark -tarot -saishosaisekojo -shii+miii -katrala -wagashiyasann -buru-dai -henriiku+(ahemaru) -funennogomi -mpien -fongban+illust -jazz+jack -ikayaki+(ikayaki4) -magari+(c0rn3r) -mitarashi+neko -ekimani -muuran -airani+iofifteen+(artist) -chun+1234567 -appleblossomtea -soranakidayo -ikayaki+(artist) -totoro+(hirohero24) -matarou+(matarou072) -0725akaba -nikuyasai -ashen+lotus -wersman -susukawa+(susucawa) -sabaku+chitai -nyuh -kaitori18 -katarinevt -hani+wahanihani -aoe -tapioka+bocchi -554989 -wakatsuki+misato -the+fool+(tarot) -sakuramochi+(sakura+frappe) -greenteaneko -yuusachii -gggglaze -h3rz4rl -miicha -prattkeeping -neru+(flareuptf1) -sakana+(saka11205) -mashiro+miru -marshmallow+mille -meopen429 -giantess -same+anko -tataki+tuna -colonel+aki -karuke+(sss016) -watanabe+masafumi+(masafumi+127) -pekeko+(pepekekeko) -rizu+(rizunm) -yukinojou+yakan -mato+(mozu+hayanie) -asimo953 -totatokeke -sesield -mop+(feer553648) -tokomichi -riretsuto -kureiji+ollie+(artist) -kohiiko -turing+love -kashiwase+karune -air+rin -taneda+yuuta -otoufu -kuroshiro1011 -morinaga+kokoa -kintsuba+(shiranui+flare) -bunka+higurashi -toriani3 -nanawo+(7nanawo) -yagami+(mukage) -ghost+(tama) -karatakewari -matarou -221+(tsutsuichi) -koga+rejini -yrzd+s -kinka -zixia+(msl) -kanikama -nekoyama -aka+shiba -nejime

fixed gug formatting, which now requires + instead of _ for tag queries. discussed with hydrus dev. removed s parameter for producing wrong results.
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

Successfully merging this pull request may close these issues.

1 participant