GithubHelp home page GithubHelp logo

hamitozdemir / ch4rab Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 192 KB

🖼️ Grab the selected reply as an image from 4chan.

License: GNU General Public License v3.0

Python 100.00%
4chan archiving image image-downloader selenium

ch4rab's People

Contributors

hamitozdemir avatar

Watchers

 avatar

ch4rab's Issues

Don't re-download an image if it already exists properly™

So... Likely a temp download to compare files? Or, maybe check the file and if it exists don't run the WebDriver altogether? I'm not sure how would one be able to check if it exists properly then, i.e. not corrupt, but maybe if the file size is greater than 0?

Grabbing OP of the thread may end up cropping the image/video file of the OP if there isn't much text body

p7901478

I am not yet certain how to handle this one, as it appears both post and post container of the OP are covering the same area. It's easy to check if a given URL is the OP as thread ID is same as the post ID, though I'm not sure how to fix the problem. There is the whole parent "thread" div, but it's just the entire thread.

Maybe if it's a possibility grabbing thread until second or third child might work, though I don't know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.