[arte] fill video.url with NotAvailable if url is not found
This commit is contained in:
parent
0a761c5d9d
commit
0084d59483
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ class ArteBrowser(BaseBrowser):
|
||||||
for line in r.readlines():
|
for line in r.readlines():
|
||||||
if not line.startswith('#'):
|
if not line.startswith('#'):
|
||||||
return u'%s/%s' % (baseurl, line.replace('\n', ''))
|
return u'%s/%s' % (baseurl, line.replace('\n', ''))
|
||||||
|
return NotAvailable
|
||||||
|
|
||||||
def get_default_url(self, url):
|
def get_default_url(self, url):
|
||||||
result = self.get_video_by_quality(url, 'ALL')
|
result = self.get_video_by_quality(url, 'ALL')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue