How can I create a bot that automatically saves images from specified 4chan threads using a raspberry pi?
kill yourself
>>62382818
Anon I wrote a script for this a few weeks back. It was for 8ch.
Do you want to see the script?
>>62382837
yes please
>>62382818
>>62382818
lol no clue dude haha
>>62382864
Wrote it in python and it works for 8ch threads only even tho it still has issues like it dwonloads both thumbnails and the image. Just use a better way to parse html unlike my retardation.
holy fuck
>>62382818
install gentoo
>>62382818
If you wait till I come back home i llavors show you my script with that and using cronie you can set it up
>>62382818
How? By use of a program.
Hope that helps
>>62382959
>/home/ansh/Desktop/tranny
https://pastebin.com/vB3c0nG1
trying to learn perl 5
criticism are encouraged
>>62384591
>criticism
exclude "*s.jpg" so it doesn't bring down all the thumbnails
>>62384484
I uhhhh...totally just a random file nothing to see here.
>>62384890
folder* I mean
>>62384946
>folder
That's a directory
>>62385047
tranny is a folder tho
>>62385122
If it's accessible through the filesystem, it's a directory. If it exists separate to the filesystem - such as a file container within a compressed file - only then is it a folder.
>>62382818
seems like a simple python script... Just read the page and scrape all the image files into a folder. Read up on python anon.
https://automatetheboringstuff.com/
is a good source
>>62385578
>>62384591
And to add, Python is shit when it comes to regexs.
>>62382825
HEHEHE Praisse the kek LOL!