Viewing images from an imageboard thread (similar to Facepunch's Images button)?
3 replies, posted
If I wanted to view all the images (specifically the full images and not the thumbnails that go with the posts) from an imageboard (e.g. 4chan) without the accompanying text, like Facepunch's threads give you the option to, is there a method, script, or program I could use? I would imagine some imageboards have similar features to Facepunch's that allow this, but not all of them do.
I've considered saving the page, then acquiring the image URLs from the HTML, but I can't think of a way to go through and clip the URLs out (especially in a thread with hundreds of images), except manually. Perhaps a text editor that can find and select any instances of "http...jpg"?
Any thoughts or tips?
[img]http://imgs.xkcd.com/comics/regular_expressions.png[/img]
[editline]16th February 2011[/editline]
Except in this case, you're looking for image URLs
I've never so much as looked at Perl before, and now that I do it looks horridly like I'll need to use *nix somewhere, which isn't happening. Would a similar operation be possible in C/++? I loosely remember something about string comparison from the 30 seconds of C++ education I received before my university decided programming wasn't nearly as important as integral calculus to a programmer.
Definitely. I imagine that you could search for something that starts in "http" and ends in an image format like PNG, JPG, JPEG, png, jpg, jpeg. Loading the HTML file would be the easiest, but I'm sure there's a way of doing it from the web.
Sorry, you need to Log In to post a reply to this thread.