aheadley / python-crunchyroll

Python interface to Crunchyroll's undocumented APIs and utilities for working with the returned data. Not endorsed, approved, or affiliated with CrunchyRoll in any way.
GNU General Public License v2.0
64 stars 19 forks source link

Crunchyroll api requests being aborted after certain amount of usage #3

Closed baskervald closed 9 years ago

baskervald commented 9 years ago

Crunchyroll seems to have implemented something new serverside where if you make X number of requests without legitimately using crunchyroll (via the site), it'll spit out a "connection reset by peer" error whenever you try to make an API request. It can quickly be remedied by starting up a video on the site then closing it out, but it's definitely a hassle.

Just letting you know, even though there's probably nothing you can do about it.

baskervald commented 9 years ago

It might be possible that loading an ad using the api (assuming that's how they're loaded) might fix it, or even the swf player (as I'm just playing the stream urls in mpv directly), in which case it might be possible to just create a "reauth" function that would grab one of those and then let you continue watching automatically when it caught the error, but it might also be some sort of more advanced monitoring that would be hard to work around.

baskervald commented 9 years ago

It seems to have only been when Crunchyroll was being DDOSed (before the site went down).

Closing the issue.