[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, swf, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


This board will be deleted next Wednesday. I am moving to a General on 8chan.moe /t/. This board is archived at 8chan.moe /hydrus/!

File: ed3f745dbd39b5d⋯.jpg (4.66 MB,4000x2715,800:543,shutterstock_89245327.jpg)

f047d8 No.4475 [Last50 Posts]

How about a thread for discussing/creating/sharing parsing scripts?

I made one for md5 lookup on e621.net (actually I just modified Hydrus_dev's danbooru script). Let me know if I did anything wrong with it, I'm pretty clueless… but it seems to work fine.


[32, "e621 md5", 1, ["http://e621.net/post/show", 0, 1, 1, "md5", {}, [[30, 1, ["we got sent back to main gallery page -- title test", 8, [27, 1, [[["head", {}, 0], ["title", {}, 0]], null]], [true, true, "Image List"]]], [30, 1, ["", 0, [27, 1, [[["li", {"class": "tag-type-general"}, null], ["a", {}, 1]], null]], ""]], [30, 1, ["", 0, [27, 1, [[["li", {"class": "tag-type-copyright"}, null], ["a", {}, 1]], null]], "series"]], [30, 1, ["", 0, [27, 1, [[["li", {"class": "tag-type-artist"}, null], ["a", {}, 1]], null]], "creator"]], [30, 1, ["", 0, [27, 1, [[["li", {"class": "tag-type-character"}, null], ["a", {}, 1]], null]], "character"]], [30, 1, ["", 0, [27, 1, [[["li", {"class": "tag-type-species"}, null], ["a", {}, 1]], null]], "species"]], [30, 1, ["we got sent back to main gallery page -- page links exist", 8, [27, 1, [[["div", {}, null]], "class"]], [true, true, "pagination"]]]]]]

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4476

Oops, looks like I spoke too soon. My e621 script only works if the file actually exists on the site, if it doesn't it appears that the e621 API sends an error code via the HTTP status code and that makes Hydrus think the script failed, resulting in an error message pop-up. I don't think you can set Hydrus to ignore error messages at the moment so my script is useless. Anyone know how to fix?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4484

Here's a script for md5 lookup on rule34.xxx


[32, "rule34.xxx md5", 1, ["http://rule34.xxx/index.php", 0, 1, 1, "md5", {"s": "list", "page": "post"}, [[30, 1, ["pagination found", 8, [27, 1, [[["body", {}, 0], ["div", {"id": "content"}, 0], ["div", {}, 0]], "id"]], [true, true, "post-list"]]], [30, 1, ["", 0, [27, 1, [[["li", {"class": "tag-type-general"}, null], ["a", {}, 0]], null]], ""]], [30, 1, ["", 0, [27, 1, [[["li", {"class": "tag-type-copyright"}, null], ["a", {}, 0]], null]], "series"]], [30, 1, ["", 0, [27, 1, [[["li", {"class": "tag-type-artist"}, null], ["a", {}, 0]], null]], "creator"]], [30, 1, ["", 0, [27, 1, [[["li", {"class": "tag-type-character"}, null], ["a", {}, 0]], null]], "character"]]]]]

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4488

File: 8e6721f18e13eb2⋯.gif (3.99 MB,537x225,179:75,8e6721f18e13eb2a2658eb6477….gif)

>>4475

>>4476

I'll check this out tomorrow and see if I can sensibly catch the error code!

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4492

File: 6d90b4ee1e3ed7f⋯.jpg (828.02 KB,1535x1080,307:216,6d90b4ee1e3ed7fb4b48dc634f….jpg)

I've set it to catch and mention 404s without a fuss and more loudly report and record other network errors at the script or link node levels. Let me know if it doesn't work for you!

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4526

File: 4867cd07d1b1b75⋯.png (2.5 KB,512x84,128:21,dbmd5.png)

>>4492

Thank you for this update, my e621 script works well now. However, I have a Danbooru script which is still throwing network errors when the md5 isn't found on Danbooru. I am not sure how to check which error code it is returning or if there is something else wrong so I'll include it here and perhaps you can check.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4539

File: 558ea0a1e49bfa6⋯.jpg (115.4 KB,770x808,385:404,558ea0a1e49bfa68e815b8032a….jpg)

>>4526

Thank you for this new example. Danbooru is giving 500 (Server Error) when it fails the md5 lookup. I suspect this is an unintentional generic 'something went wrong' error on their side, as 404 seems more appropriate, but I guess the json->html forward makes it more complicated.

I will create a job to extend scripts to allow interpreting certain http status errors as standard veto conditions.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4545

>>4539

That sounds good, thank you. Some other sites also have the same error, not sure if they also return 500, so the ability to catch specific http errors as veto conditions would be nice.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4594

File: 307c8f98b7cfc97⋯.png (2.23 KB,512x84,128:21,e621 md5.png)

File: ac3484cf2441bdf⋯.png (2.73 KB,512x84,128:21,gelbooru md5.png)

File: 8f6cab170c9ff38⋯.png (2.71 KB,512x84,128:21,iqdb danbooru.png)

File: 15f5de392cea0f4⋯.png (2.69 KB,512x84,128:21,iqdb gelbooru.png)

File: de99b0f232f72a2⋯.png (2.53 KB,512x84,128:21,rule.xxx md5.png)

Ignore the ones in >>4475 and >>4484

Here are some updated scripts, they all grab the rating tag as well as the normal tags.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4595

>>4594

God bless! Any chance you can make one that works with sankaku?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4598

>>4595

Unfortunately Sankaku doesn't work right now because, unless I'm reading their API documentation wrong, it is not possible to do a straight forward search for an md5. You'd have to do something like this:

http://chan.sankakucomplex.com/post/index?tags=md5:eea8d884f3127c7a4024c531e4c1f23e

I don't think the current parser system is able to generate an URL like that. Perhaps Hydrus_dev can look into this?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4600

I just noticed there's a problem with the e621 script (possibly others) where the part that extracts the rating isn't always correct on some images due to the fact that the rating isn't in the usual location.

The formula to extract the rating that I'm currently using is this:

1st div tag with id = stats

1st ul tag

3rd li tag

1st span tag

The problem lies in the "3rd li tag" part, as the rating is not always the third thing to be displayed under the "Statistics" header, it depends on whether "source" is displayed or not, etc.

The tag itself looks like this:

<li>Rating: <span class='redtext '>Explicit</span></li>

This could be solved if there was a way to check for the "Rating:" part within the <li> tag. I don't see a way to solve this currently as the only thing you can do is to check for keys within the <li> tag itself.

Hydrus_dev, please add :)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4603

>>4598

I've been fiddling with different configurations in the script but I didn't get anywhere. I wrote the script in a way that's the same as that url but Hydrus keeps adding the equal sign after the colon. Maybe if someone can write the script for the visually similar page that sankaku offers, I don't know, maybe that will work.

https://chan.sankakucomplex.com/post/similar?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4612

File: bc0eb1e40ba5a42⋯.png (2.6 KB,512x84,128:21,iqdb sankaku.png)

>>4603

Yeah, the problem is Hydrus wants to use the tag=value format for everything but here it needs to be tag:value instead.

Meanwhile, here's a iqdb script for sankaku, similar to what you suggested.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4613

>>4612

Thank you for your contribution. This was way over my head.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4615

File: 1ac9e89957e4d60⋯.gif (695.57 KB,242x191,242:191,1ac9e89957e4d6016694fee899….gif)

>>4600

>here's a script

>no, no there isnt

>but it has replies, wtf

>Services > Parsing Scripts > Import

>import from image

what the fuck is this program

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4617

>>4615

The best image manager in existence.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4618

File: 752eb023f0c941e⋯.png (2.53 KB,512x84,128:21,sankaku md5.png)

>>4598

>>4595

Here's a working sankaku script.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4619

>>4618

Thank you! "/post/show" isn't listed in their API documentation for some reason…

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4623

File: 32c7f0fb787944f⋯.png (259.45 KB,420x567,20:27,32c7f0fb787944f152f26d377a….png)

>>4598

What a pain! I'll make a note of that and figure out a solution. Even if another way was found in >>4618 , I'm sure something like this will come up again.

An ugly fix to this, btw, I think would be to set the 'file identifier type' as 'custom input' and then paste the md5:abcd… in manually for each request. This would obviously be a pain, but it would work well for a one-shot.

>>4600

I think I just replied to you in the main release thread. Thank you for this report, I will add a string contents test to the tag search.

>>4615

>>4617

:^)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4679

>>4615

Never played Artificial Academy or 3D Custom Girl? You can do amazing things with computers.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4887

is there no imgur parsing script?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.4894

>>4887

For what? This thread is for parsing tags from booru, you are thinking of scripts for the downloader engine which isn't available yet, as the dev hasn't started working on it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.5091

>>4894

Is there are some way to automatic use these scripts to try tagging all imagesin DB?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.5092

>>5091

Not at the moment.

But you can use HTAs in this thread to import a bunch of tag mappings from various boorus:

https://8ch.net/hydrus/res/2651.html

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.5096

>>5092

>Why there are no tag archive from sankaku?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.5099

Not strictly related, but to anyone looking for porn on Yahoo's new somehow even shittier soft-censored Tumblr, Boodigo has specifically a Tumblr search (also blogspot and clips4sale)

This is rather better than my former plan to exhaustively search NSFW tumblrs which was "find a new blog that hasn't been flagged yet, open a billion tabs in Vivaldi manually for reblog/source blogs that look related from the username or that pop up often, and then go through and import them". The backup backup plan was "wait for Hydrus to have custom login and download engines and write an addon that downloads all reblog lists, searches through lots and lots of link lines, and rough-maps the interconnectivity of blogs to each other and the original entry point(s)".

I still might try to write a connectivity mapping script for the hydrus db for all tags under a given namespace just for general usefulness, but for now I'm glad there's actually a way to search NSFW tumblrs.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.5100

I'm hoping for a future parsing script update when the parser can download files to preview a tag lookup file to compare to your file.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.5102

>>5096

I think it's because sankaku has some kind of limit on how many searches you can do so it would take months to rip all the tags from the site.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.5346

Bump, hoping Hydrus_dev will get back to this soon as currently there are several boorus that just won't work with Hydrus' current system.

Some expect an url like this for example

https://booru.com/post/index?tags=md5:36bd7e49bb64b91b731d3d6e2b3a807a

Can't do it with the current system!

To be honest, the best and most flexible way to do with would probably be to allow you to enter an URL and put tags in it that hydrus then will replace with the relevant information. Something like this:

https://booru.com/post/index?tags=md5:<md5>

Hydrus would then take that and replace <md5> with the actual md5 of the current image to generate the finished URL.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f047d8 No.5355

>>5346

Pretty sure the custom download engine will be able to do all of that and more once it's made, he had a lot of feature ideas for it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a19e6c No.6832

How do I use one of these scripts?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ad789a No.6837

>>6832

tamper or greasemonkey

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

0ca1a9 No.6838

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ad789a No.6994

Anyone know of a script to rip the :orig files from twitter media posts?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

34e5b9 No.7046

>>6994

Well I found a script, works in tampermonkey even though its for greasemoney. It only redirects to the :orig files but at least it saves a step.

https://greasyfork.org/en/scripts/9510-twitter-image-orig-promoter/code

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

df34a8 No.7354

Here's the booru tag parser script for grease/tampermonkey with derpibooru included since somebody asked in another thread

https://pastebin.com/XtpZAp5D

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f452e5 No.7394

>>7354

Hm, looks like my previous post didnt work,well

Anyways, i updated the script to work with greasemonkey 4.0 (and broke the copy sound in the process)

Its only meant as a temporary amateur fix till the author updates the original

https://github.com/leonpfeil/boorutagparser/blob/master/boorutagparser.user.js

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

338490 No.7790

Anyone have any updates on the parsing scripts for danbooru, sankaku and yandere? (I'm using those in cuddlebear92 page)

The one for danbooru doesn't copy the medium category (like official art, high filesize etc), and none of them copy the rating in the right way, it's either nothing, or it gets copied as "rating:rating:"

On another note, i saw the md5 for sankaku isn't listed anymore in the sharing page, i though it's because it doesn't work anymore, but i tried it and i still get tags normally

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3887ee No.7807

>>7790

The whole parsing system will be updated in the coming month or so, with the existing file lookup scripts automatically converted along with it. I expect the ability to parse and test all this stuff to improve breddy soon. I imagine the existing share spaces will grow with more and better parsers as well.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f3728d No.7822

Booru tag parsing script isn't grabbing the full rez image from Danbooru

These are all variations of the same image and they parsed correctly

http://danbooru.donmai.us/posts/2813183

http://danbooru.donmai.us/posts/2824474

https://gelbooru.com/index.php?page=post&s=view&id=3820627

https://gelbooru.com/index.php?page=post&s=view&id=3820897

https://gelbooru.com/index.php?page=post&s=view&id=3836020

https://yande.re/post/show/405601

This did not parse correctly; it somehow downloaded a sample size of it. It's worth noting that Hydrus itself is unable to parse and download it, but the parsing script at least gets the sample rez

http://danbooru.donmai.us/posts/2812948

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

bf8458 No.9278

Is there are way to scrape files and tags from Zerochan?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

b461bd No.9280

>>4475

Hitomi, Tsumino, Hentai2Read , HentaiCafe, NHentai, HBrowse and Goddess are what /a/ recommends when avoiding SadPanda

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

aed163 No.11124

File: 75e5aeb99022928⋯.png (5.8 KB,512x125,512:125,e621 pool lookup.png)

Here's an e621 pool lookup.

Seems to work for me, images appear in correct order in the browser pane. I just need to find a better way of tagging page:* and title:*

atm I drag the files onto Krename which outputs to /tmp/hydrus/<title>/<page>.<ext> and use the tag based on file name import option.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

915732 No.11590

File: fd3e236eaa08774⋯.png (4.69 KB,512x111,512:111,a.png)

Just made a realbooru one.

Fucking parsers are a pain in the ass.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

915732 No.11610

File: ec56d235964857e⋯.png (4.98 KB,512x111,512:111,easy-import downloader png….png)

>>11590

Wait, I fucked up. Here's the fixed version.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f5ba1f No.11616

>>4475

Can any custom parsers handle logins? Like the twitter gallery situation is still out of the picture and has been for a few months now. Fur Affinity and InkBunny if parsers are made but without logins will barely scrape any content as well. I know Hdev said FA gallery parser is coming but without login support it's hardly worth the work to make one imo.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

aed163 No.11696

>>11616

You can make your own login scripts but IMO it's not worth it, especially when the site makes heavy use of javascript or captchas.

Instead, just copy the cookies from your browser session to get logged in.

>network>data>review session cookies

Inkbunny needs "PHPSESSID"

For other sites just copy anything that has any login looking things like username, base64 or hex string values until it works.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

bf8458 No.11698

What do I need to learn about HTML or JSON so I can make downloaders?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a643ac No.11814

I'm trying to use the iqdb-tagger python script, but there is a PermissionError when it tries to write to windows temp folder. Anyone know how to fix? I tried setting the iqdb-tagger-server.exe, iqdb-tagger.exe and python.exe to run as administrator but it doesn't help. I'm on Windows 10.

https://github.com/rachmadaniHaryono/iqdb_tagger

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

915732 No.11886

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7b2523 No.12763

>>7394

I've been using the tag parser and server (https://github.com/JetBoom/boorutagparser) fine until recently: random place he decided to host the sound went down, breaking a lot of shit. Thought I'd leave a note for anyone having problems: Just right-click on the script to edit it, then comment out (//) anything to do with the sound or variable it's stored in. That should get it working again.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

bf8458 No.12848

>>12763

I only use the parser, and just deleted the link to the audio file itself. Everything still works in the parser even with it there, but you get that stupid login prompt. And here I thought the boorus got hit with some new malware or something

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

bf8458 No.12849

What's the deal with it not working on derpibooru anymore?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

fb1a41 No.12997

I installed and tried using iqdb_tagger but it complains that the 'hydra-python-core' distribution was not found and is required by hydrus. What gives?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

419f98 No.13042

File: 90751527edb545c⋯.jpg (60.41 KB,1151x616,1151:616,concern.jpg)

Has Pixiv parsing stopped working for anyone else recently?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

bf8458 No.13044

>>13042

What do you mean? There was no parser for pixiv. If you mean those extensions that let you direct load the images then those have broken for 1 year+ since pixiv keeps editing its sites

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

419f98 No.13045

File: d913dab5df7a8f6⋯.png (22.17 KB,889x277,889:277,W2bsGlw.png)

>>13044

I might have found a custom set from CuddleBear92's GitHub repo (I sure as fuck didnt write them) but I had been reliably importing pixiv urls just days ago and now they error out; can't find anything. I havent looked into it too hard yet but was wondering if I'm alone

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

bf8458 No.13048

>>13045

I think it's just you; (I'm using the Hydrus default pixiv parser) I made my 32 artist subs check now and they went through with no errors. But they had already checked recently so there weren't any files to snag.

No idea why it would work yesterday but not today, unless that was made before they revised their site and they just happened to leave the old code running as a fallback till now.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

303955 No.13052

The built in script for using iqdb to look up tags from danbooru works for me. There are many more like it on cuddlebear92's website, but they are 2 years old and don't seem to work at all anymore. I just want something that works the same as the built in function for other sites like sancom, gelbooru, etc., but it seems I'm left high and dry. I don't understand why it doesn't work anymore either. I went through the logic of the iqdb gelbooru script, for instance, and compared it with the HTML actually sent back by the website, the logic still seems sound.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

59b96b No.13053

>>13042

Not just you, same happened to me on both the default hydrus parsers and the custom pixiv all-in-one set. Everything gets ignored and has been for a couple of days. All the pages come in as if I'm not logged in for whatever reason

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

303955 No.13054

>>13052

Hmm, I've found that the gelbooru one actually works off and on. Sometimes it oddly just returns a list with 4 crosses, instead of a list of actual tags though. Now then, what I'd really like to do is automate running file look up scripts on more than one file and automatically apply all tags to each file. There doesn't seem to be away to do this through the interface when more than one file is selected, but there has to be a way, right?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7fead0 No.13056

Hit the same pixiv issue just now. The login itself doesn't seem to be the issue, I reset and redid the login within Hydrus but that seems to have changed nothing.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

12d78e No.13057

File: 97eef4a1eb57753⋯.png (4.18 KB,512x93,512:93,pixiv file page api parser.png)

Pixiv changed their API so the parser had to be redone. You can replace the old one with this one or wait until Wednesday as it should be in the next release. Also pixiv added captcha to login so you have to import cookies manually now. The login in hydrus won't work.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

566fd9 No.13138

File: 40505a535d29aff⋯.png (3.58 KB,512x111,512:111,newsankakuparser.png)

The sankaku parser someone posted on this board that was supposed to remove the 2000 files limit didn't work properly for me, due to the naive way the parser fetched the next gallery page data I think, so I made a fix some while ago that works on my machine (TM). Please let me know if it works on yours, too.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

303955 No.13162

>>13138

Working a treat right now. I understand a bit of html, but these parsers make no sense to me. Maybe I'll sit down and spend time to figure out how to do this myself sometime.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

69fa49 No.13525

File: ad87f393a37350d⋯.png (3.63 KB,512x113,512:113,8kun downloader.png)

I'm not sure if this has been fixed yet, but I modified the default 8ch parsers to allow hydrus to download 8kun threads with filenames.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

085c83 No.13616

The JSON API for boards like gelbooru returns all the tags, as well as the path to the files, hash, source, updated time, etc.

Example

https://gelbooru.com/index.php?page=dapi&json=1&s=post&q=index&limit=50&tags=cat%20rating:safe&pid=2

(The tags are HTML-escaped, but I don't know about other entries)

So why do the gallery downloaders scrape HTML for each page instead of using all the information obtained from a search request?

If I do a search for a set of tags, the downloader has to download the HTML for every single post's page just to check for duplicates and tags.

It's a lot of wasted resources/effort for both client and server.

If I already have all 50 files that turn up in the linked search, in total I did 1 request instead of 51 to verify that.

Similarly, if I had to download all the images, in total it was 51 requests instead of 101, with the bonus that no HTML scraping had to be performed.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

085c83 No.13620

I noticed gelbooru's JSON API returns tags as a single string with each tag delimited by spaces.

Is there a way to split a JSON string match into multiple entries?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

2f0bc3 No.13762

So I'm a newcomer to making downloaders, I made a bunch of url classes, such as for an HTML page of an album that contains many images, it redirects to an API call, which also has it's own class, I made parsers for the API response, selected which API query element corresponds to the next page (such as offset) and even added a next page URL in the parser.

But no matter what I do, when I drag & drop an album's URL into Hydrus, it only downloads the first page worth of images and never goes further.

Is it supposed to work like that? Do I have make something like GUG to make the continuous downloading work?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

1be05b No.13953

File: dcf02bc49b3148b⋯.png (2.71 KB,512x112,32:7,e621_updated_parser.png)

Friendly neighborhood anon here - e621 seems to have added 'lore' and 'meta' tagtypes which the default parser can't catch - this updated parser can catch them.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

dfaa46 No.14001

I previously used a modified version of saucenao's generic script to automatically(-ish) reverse image search untagged images that show up, but now that e621 has their own reverse search, I whipped up my own python script. e621's reverse search also doesn't have a cap on searches done in 30s/24hr (it does require an account tho).

https://gist.github.com/corposim/b7ccb6a2c8814032ddd65db91b371dc2

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

655b38 No.14013

File: 30cf53745d19ea7⋯.png (3.17 KB,512x113,512:113,babeswp_docl.png)

wasted my time on this

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a51669 No.14320

This might have been asked before, but is there a downloader for NicoSeiga? If not, does anybody know other tools for that?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

0efa77 No.14328

I'm trying to get Hydrus to download from smugloli.net. I have made url classes that match the URL and created an API URL for the json, but when I try to watch a thread it instantly says "DEAD" with the log message saying there was no parser. It should work if the "4chan-style API parser" is used, but I have no clue how to make it use that.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

939c32 No.14372

Anyone know what the situation is with gfycat redirecting NSFW content to some sort of sister site? I guess they intend for you to browse their new site "redgifs" but following old nsfw gfycat links takes me to "gifdeliverynetwork"

Anyway in short I got some sort of gfycat/redgifs downloader bundle from cuddlebear's hydrus scripts git repo but I'm not really sure what to do with them and I can't download videos straight from redgifs like I used to with gfy, anyone else in a similar spot?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7c774d No.14403

File: 45b99866702027b⋯.png (2.9 KB,512x112,32:7,pillowfort_post_parser_202….png)

With the number of artists attempting to migrate to pillowfort from twitter, I tried my hand at building something to parse pillowfort posts. It could probably still use some cleanup and correction, but figured it was worth putting out there since I've gotten it to work for me pretty well so far.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

655b38 No.14437

File: 5fca0eb02f96a84⋯.png (3.63 KB,512x112,32:7,realbooru.png)

here's an updated realbooru downloader; includes a gug, post and gallery urls and a parser

tags work well.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

0891ac No.14466

Can the nijie parser download video and manga?

It doesn't look like it from what I saw, but I may have missed a step. While I'm asking, How would I automatically fetch the nijie work:# ?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7d3571 No.14471

File: f4cbeb92e9442fb⋯.png (3.85 KB,512x108,128:27,agnph_all_in_one.png)

Friendly neighborhood anon here. Someone once asked for an agn.ph downloader. This is an all-in-one that should work for the site.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5a9c6e No.14474

is there a parser for the FA Onion Archive?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

b4a834 No.14558

anything for rule34hentai?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

963f0c No.14624

File: 8b468b60c36429c⋯.png (14.14 KB,512x133,512:133,docl_instagram.png)

^wrong one, here is the one that works, tagging kindaaa works but location tags are busted

(instagram)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7907b3 No.14710

>>14437

I think this has changed again, I'll give it a look but I am not good at it at all.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3fc0bd No.14739

>>14710

Anything on this anon?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

6c7e0e No.14748

File: d0fe48199af88b6⋯.png (8.35 KB,512x166,256:83,realbooru.png)

realbooru parser that functions at least

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8c2d2c No.14782

Sankaku is now hiding lolis. Is there some way to get around this?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

4920bd No.14837

I'm not sure if GUGs can make these, but anyone have a module for setting up Youtube subscriptions?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a382d2 No.14847

>>14782

They're not hiding lolis. I don't understand why I keep hearing this. Did you check the mature content option in settings and clear your account blacklist? Do you have an account in the first place?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f5d248 No.15140

Can someone help me understand what parsing scripts are for, and how to use them?

Are they to improve the amount of tags that are found for images? Like a reverse search?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]