diff options
-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: |