fix language

This commit is contained in:
j 2017-03-05 09:13:01 +01:00
parent c35154ad3a
commit 1eca4de3b5

View file

@ -166,7 +166,8 @@ class Imdb(SiteParser):
'language': {
'page': 'combined',
're': [
'<div class="info"><h5>Language:</h5>.*?<div class="info">',
#'<h5>Language:</h5>.*?<div class="info">',
'<h5>Language:</h5>.*?</div>',
#'<a href="/language/.*?">(.*?)</a>', #links changed to work with existing caches, just take all links
'<a.*?>(.*?)</a>',
],
@ -653,6 +654,8 @@ class Imdb(SiteParser):
'roles': c[1],
'deparment': department
})
if not self['credits']:
del self['credits']
class ImdbCombined(Imdb):
def __init__(self, id, timeout=-1):