![]() |
|
[Python] [HELP] img grabber script - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] [HELP] img grabber script (/showthread.php?tid=5899819) |
[HELP] img grabber script - Bestandsextensie - Oct 26, 2018 hi there, i wanted to fill up my folder with some good HighResolution pictures nam sayin so i created this script the thing is on the site theres two links one thumbnail and one full resolution, it grabs both. so i am asking for a way to not get duplicates and explain it please, feel free to use this script if u dont care about duplicates or use it yourself becareful it grabs every url that has an image on it ending with .jpg on the site i targeted the thumbnail = 123.jpg thats can pop up but the real link also redirects to 123.jpg so i get two values Code import requeststo use it add an url from a 4chan thread in the imageGrabber function in main. i cant add urls yet so RE: [HELP] img grabber script - dontspamthisplease - Oct 26, 2018 Yeah I don't know why are you getting 2 copies, didn't try your code but here is a little improvement I want to make. Code import requestsHope it help a little bit! RE: [HELP] img grabber script - roach - Oct 26, 2018 Here you go buddy no more duplicates: Code import requestsRE: [HELP] img grabber script - taikkau - Oct 29, 2018 and enjoy getting your IP banned. Should have tricked any website with giving user-agent and fake browser. RE: [HELP] img grabber script - Louis - Nov 14, 2018 There is a wonderful 4chan api wrapper for this https://github.com/bibanon/BASC-py4chan |