[arte] fill video.url with NotAvailable if url is not found

This commit is contained in:
Bezleputh 2014-07-29 17:51:35 +02:00
commit 0084d59483

View file

@ -74,6 +74,7 @@ class ArteBrowser(BaseBrowser):
for line in r.readlines():
if not line.startswith('#'):
return u'%s/%s' % (baseurl, line.replace('\n', ''))
return NotAvailable
def get_default_url(self, url):
result = self.get_video_by_quality(url, 'ALL')