Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addic7ed : Provider Error code 304 #428

Closed
sioban opened this issue Jan 8, 2015 · 8 comments
Closed

Addic7ed : Provider Error code 304 #428

sioban opened this issue Jan 8, 2015 · 8 comments

Comments

@sioban
Copy link

sioban commented Jan 8, 2015

Hi, recently I get this error with Addic7ed :

INFO [subliminal.video] Scanning video u'gotham.1x11-rogues.gallery-sd.tv-lol.mp4' in u'/media/nas/z-archives/Medias/series'
INFO [subliminal.api] Listing subtitles for <Episode [u'gotham', 1x11]>
INFO [subliminal.providers.addic7ed] Logged in
INFO [subliminal.providers] Listing subtitles with provider 'addic7ed' and languages set([<Language [fr]>])
ERROR [subliminal.providers] Unexpected error in provider 'addic7ed', discarding it
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/subliminal/providers/init.py", line 292, in list_subtitles
provider_subtitles = provider.list_subtitles(video, provider_languages)
File "build/bdist.linux-i686/egg/subliminal/providers/addic7ed.py", line 195, in list_subtitles
return [s for s in self.query(video.series, video.season, video.year)
File "build/bdist.linux-i686/egg/subliminal/providers/addic7ed.py", line 180, in query
soup = self.get(link)
File "build/bdist.linux-i686/egg/subliminal/providers/addic7ed.py", line 119, in get
raise ProviderError('Request failed with status code %d' % r.status_code)
ProviderError: Request failed with status code 304
INFO [subliminal.api] Found 0 subtitles total
INFO [subliminal.providers.addic7ed] Logged out
No subtitles downloaded
/!\ ended with error : 1

It still works with other provider.
Any idea ?

@dima-vy
Copy link

dima-vy commented Jan 8, 2015

I just get this with Addic7ed:
Provider 'addic7ed' is not available, discarding it
Yesterday everything worked fine. May be it's connected errors?

@jtwill
Copy link

jtwill commented Jan 8, 2015

HTTP status code 304 means:

If the client has done a conditional GET and access is allowed, but the document has not been modified since the date and time specified in If-Modified-Since field, the server responds with a 304 status code and does not send the document body to the client.

I'm guessing, but maybe Addic7ed never used to return a 304 status code when the page was not modified, but now the server will return 304. And apparently the module subliminal is using does not know how to handle it.

@dima-vy
Copy link

dima-vy commented Jan 9, 2015

It's working today fine, at least for me

@sioban
Copy link
Author

sioban commented Jan 9, 2015

Still not working there, same error.

@SeeDborg
Copy link

SeeDborg commented Jan 9, 2015

Not working for me too, same error since 2 days.

@Exo99
Copy link

Exo99 commented Jan 10, 2015

Not working for me.
In the last days http://www.addic7ed.com post this:
3 days ago: Scheduled maintenance will start in a few hours. Signup, upload and a few other bugs should be fixed when it's all over. Sorry for any inconvenience.
2 days ago: We are back online. Some features are still not fixed yet, (forum, sign up), we're working on those now.
1 days ago: The sign up feature is now fixed. All those who tried to create an account in the last two weeks, you have to re-create it. -- As written in the sign up form, there is no email activation. Once you've hit "Join", you can log in directly. And you can change your password in My Panel > Edit Profile
Maybe they are still working on some problem

@sioban
Copy link
Author

sioban commented Jan 14, 2015

It's still not working...

Is this project still alive ?
We do not get any news from the owner...

@Nikoli
Copy link
Contributor

Nikoli commented Jan 14, 2015

Is this project still alive ?

#425 (comment)

@caronc caronc mentioned this issue Jan 26, 2015
caronc added a commit to caronc/subliminal that referenced this issue Jan 28, 2015
Hopefully the Addic7ed administrator can respond to my email inquiring as to why they are blocking us by the User-Agent string.

Automation is the 21st century of the internet; No one wants to click 8
times past banners just to get a 1KB (in size) subtitle. Most people
have Ad blocking software and don't even see these banners anyway. There
are many other ways to get people on board with helping them out
financially (if that's what this is about), and at the same time
accomodate those who've automated their service. I will roll back this
commit when we can come to a better resolution.
@Diaoul Diaoul closed this as completed Mar 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants