Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks. I meant that light usage from a single user was already enough to get banned. (Though if you rewrite the HTML so there's no resources to fetch, it should be OK...)

Also, it's just a proxy, there's no front-end. (Being a 50 line Python script with one dependency (Flask), the idea is that the end user would run it.) It's just http://localhost/URL, and it loads it from the hardcoded snapshot. I guess https://localhost/snapshot/url might work better.

I'd also like to see how many lines it ends up being if you remove the one dependency. I've done this for other projects and the answer is "not much more" and "also runs way faster for some reason."



I see, thanks for the extra details. I'm pretty sure you can forgo Flask in favour of directly using the underlying WSGI protocol, while keeping the the Web server you are already using (Gunicorn, probably). The Web server would still be a dependency though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: