diff options
author | Stefano <l.stickell@yahoo.it> | 2013-05-07 00:00:13 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-05-07 00:00:13 +0200 |
commit | 474253da9fe24316c6072790bb90a075451a1ab7 (patch) | |
tree | 685a216ac745f701051da332df1a4455b39c42a0 /module/plugins/hoster/YoutubeCom.py | |
parent | DebridItaliaCom: new hoster supported (diff) | |
parent | Changed the way of checking for available youtube videos (diff) | |
download | pyload-474253da9fe24316c6072790bb90a075451a1ab7.tar.xz |
Merge pull request #105 from reinoldus/stable
Changed the way of checking for available youtube videos
Diffstat (limited to 'module/plugins/hoster/YoutubeCom.py')
-rw-r--r-- | module/plugins/hoster/YoutubeCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py index 2fb1e5264..e2ec25ca4 100644 --- a/module/plugins/hoster/YoutubeCom.py +++ b/module/plugins/hoster/YoutubeCom.py @@ -76,7 +76,7 @@ class YoutubeCom(Hoster): def process(self, pyfile): html = self.load(pyfile.url, decode=True) - if "watch-player-unavailable" in html: + if '<h1 id="unavailable-message" class="message">' in html: self.offline() if "We have been receiving a large volume of requests from your network." in html: |