Comments (6)
When making requests, ReadTimeoutError
s often occur because the server detected an unusual amount of traffic coming from your IP. It should allow requests after an unspecified amount of time again. Try it again in a few hours (or tomorrow). As a word of warning, when this pattern of making excessive requests reoccurs, you can be blocked by the site owner completely. I am not sure if that's what happened, so I am taking a wild guess here. You can configure a stricter retry_strategy
in the handler
property, but again - for most use cases the default settings should have you covered. Just don't attempt to scrap the whole website ;)
Please report back tomorrow to let me know if this issue persists and go over your script again to rule out any mistakes on your part.
from hentai.
so yeah a vpn should solve this problem
from hentai.
Yes, that was a very important insight. I mentioned this issue in the documentation. In this case, a VPN would be necessary to circumvent this ban. I guess this resolves your problem for now. Well, not really, but at least we know the cause of it. Feel free to open another issue if it should still not work even with a VPN, until then I'll close this issue for now.
from hentai.
is using a vpn on my whole pc might work?
from hentai.
It should work with a VPN because I added the urlib.request.getproxies()
as keyword argument to each GET request, but I have never tested this myself because I don't use a VPN. Another reason why ReadTimeoutError
s might occur is when the site is offline (which is not the case) or when someone edited your HOST file to block access to sites with adult content. Since I cannot reproduce this error at home, this issue seems to be specific to you. Can you still access the website through the browser normally?
EDIT: In addition to my last question, could you run functions from this module before or did this error occur immediately upon first contact?
from hentai.
i think i know why it does not work
i tried to connect from a browser and i ended up with this:
in french, it means:
You have been redirected to this page because you are trying to connect to a site with child pornography picture
Basically nhentai is blocked in France and i didn't even knew.
from hentai.
Related Issues (14)
- Hentai.exists HOT 2
- [ BUG ] AttributeError: 'PosixPath' object has no attribute 'startswith' HOT 1
- [ BUG ] Make Request Paramter Not Working HOT 5
- Module do not work anymore HOT 7
- [ BUG ] Error while trying to interact with the wrapper/api
- Library not working due to poor request HOT 3
- [ DOC ] Online Documentation
- [ ENH ] Python 3.7 Support HOT 1
- [ ENH ] A function to fetch the popular_now section HOT 5
- [ ENH ] Add Export Function HOT 1
- [ ENH & TST ] Rewrite test suite from scratch HOT 1
- [ ENH ] customizing log path HOT 2
- [ ENH ] User Agent HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hentai.