Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Escapist not working #5069
Escapist not working #5069
Comments
|
(also, mad props for this awesome tool, you guys rock, etc etc) |
|
Thank you for the report. It seems like once one requests the configuration with a user agent The Escapist does not recognize, the IP address gets blocked. I've added detection for that as well as a new UA that should not be triggered in youtube-dl 2015.02.26.2. See our FAQ if you need help updating. |
|
All my IPs are getting blocked (even a fresh one I just tried for the first time - a linode). This is crazy (and obviously not your fault). Fuck escapist magazine, apparently I don't want to watch their shit anyways. I'll send Yatzee an email telling him he should find a new home that doesn't mistreat his fans so badly. (I am only using youtube-dl in this instance because my linux chrome UA also, apparently, got me banned). |
|
(but also, mad thanks for the super-fast update) |
|
Great. I'm blocked too! |
|
I can confirm the same issue even with the latest version. I tried from a new IP, which I checked wasn't blocked by watching a video on the website, and the result was this:
Now I get the standard 45 seconds trailer. I tried downloading a video directly with an unbanned IP using Firefox (going through the config file and launching the download of the .mp4 file through Firefox), and it worked correctly. So there's something youtube-dl does that gets it detected... I'm not sure it's related to the UA. Maybe it's because of the order of operations, or because it's missing cookies when making the request, or...No real idea, unfortunately making tests is complicated considering any mistake gets you banned and prevents you from trying again. @terabyte & @achilleas-k First time it happened, while I knew what was up, I sent an email to the support team playing dumb and telling them I just got a standard 45 seconds trailer on each video. If you email them and tell them you have no idea why it happens, they seem to unban you. After a few exchanges, I got this answer and I got unbanned:
I can't do it again because they'll probably realize I'm messing with them, but if enough people do it maybe they'll think there's a false positive and stop doing that. Of course you can also tell them the truth, but that probably won't get you unbanned. |
|
@Tailszefox I wouldn't be surprised if they knew about ytdl and this bug. Not being paranoid, but it's not exactly secret. As for emailing support to get unbanned, I got banned again some time ago (well, more like a couple of years) for using an XBMC addon. I'm not going to bother getting my IP unbanned, this time. ZP is the only show left on the site that I watch regularly and I'll just keep to watching the YouTube version a week late. |
|
Maybe the plugin should be disabled for the time being until we can determine what the ban is switching on? edit: Message from the developers: " flashvars="config=You do know the advertisement views on these videos pay for the rent/insurance/food for several very nice people? A few of them sadly feel they need to eat every day, but we're working on curbing that unfortunate instinct. :(" hahahahahahahaha. remember. If you arn't willing submitting yourself to tracking/aggregation/malware vectors, gratuitous sexualization and pandering, gigantic background links designed to be accidentally clicked on, and annoying flashing advertisements, you are a monster. |
|
Wow. Talk about passive-aggressive. I think the easiest way to determine what makes this happen would be to step through the code line by line and check, each time, if we've been banned. At some point the offending line should be somewhat obvious. I'll give it a go when I can, since I can easily change my IP. EDIT: After testing real quick, and while I'll have to go deeper (literally), this is where the ban was triggered:
So it happens even before the video starts getting downloaded, it actually happens when it downloads the configuration file to the video. I'm thinking cookies, but I'll have to test. EDIT: Okay, my bad, it's definitely because of the user agent. I've changed it to the one I'm currently using in Firefox and suddenly, it started downloading the video just fine. Have they really just banned an user agent? Could someone else try changing their user agent in escapist.py to check? EDIT 2: Yep, it's the user agent. I tried a bunch of others, it went all okay. Tried the original: banned. Seriously? |
|
Any news from anyone else? I switched the user agent and I had no issue for a while, so it's definitely because of it. Of course, this can just turn into a game of cat and mouse: if it's changed, they'll just ban it again. They're probably not basing themselves just on the UA, though, otherwise there would be a lot of false positive. But since we can't seem to figure out what... My best guess at this point would be to randomly generate a valid UA for each request. That way they couldn't just ban a specific one. |
|
I just assumed they use a whitelist, not a blacklist. |
|
I don't think they're really using either, at least not based on the UA. The current UA used by youtube-dl is the one used by IE 11 on Windows 7. There's no way they would blacklist this specific UA, otherwise they'd just end up blacklisting a big chunk of their visitors. I even tried setting that UA on my Firefox and didn't get banned despite doing the same requests. |
See #5068 for details, even with the newest version as of this writing (I think?) I am getting a video but it is only a 45-second ad, not the real video