forked from Diaoul/subliminal
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes Diaoul#428; I'm not proud of this fix; but it resolves the issue.
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.
- Loading branch information
Showing
3 changed files
with
29 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3acbefb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK now I understand. I've been contacted by Addic7ed developers in April 2014 and they wanted to know what information we would need from them because they were interested in building an API.
They didn't respond to my last email so I don't think they developed that API.
3acbefb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least leaving the choice to the user would be a good idea.
I mean, using an alternate user agent might be an option.
3acbefb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this problem still existing?
3acbefb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so.
3acbefb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, still getting
ERROR (logger:31) - subliminal.api: Unexpected error in provider 'addic7ed', discarding it
errors. Are you sure? How can I get further information on that error? Not seeing anything further in "com.plexapp.agents.subliminal.log", "com.plexapp.system.log", "Plex Media Server.log".3acbefb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just chiming in with a bit of confusion. Are you receiving your errors using this fork which has this patch in place? Or are you getting the errors by other means? I realize this might be a bit of a rhetorical question because I can't imagine any Plex addons are using anything but the upstream branch.
3acbefb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess i was wrong about this one, as the errors I've mentioned are unrelated and self-generated. I'm currently playing around in the Plex sandbox.