expose isSeries flag
This commit is contained in:
parent
79ecde337c
commit
02b20b0042
1 changed files with 2 additions and 1 deletions
|
@ -262,7 +262,7 @@ class Imdb(SiteParser):
|
||||||
},
|
},
|
||||||
'isSeries': {
|
'isSeries': {
|
||||||
'page': 'combined',
|
'page': 'combined',
|
||||||
're': '<span class="tv-extra">\(*TV series',
|
're': '<span class="tv-extra">(TV series) ',
|
||||||
'type': 'string'
|
'type': 'string'
|
||||||
},
|
},
|
||||||
'title': {
|
'title': {
|
||||||
|
@ -476,6 +476,7 @@ class Imdb(SiteParser):
|
||||||
del self['_director']
|
del self['_director']
|
||||||
if 'isSeries' in self:
|
if 'isSeries' in self:
|
||||||
del self['isSeries']
|
del self['isSeries']
|
||||||
|
self['isSeries'] = True
|
||||||
if 'episodeTitle' in self:
|
if 'episodeTitle' in self:
|
||||||
self['episodeTitle'] = re.sub('Episode \#\d+\.\d+', '', self['episodeTitle'])
|
self['episodeTitle'] = re.sub('Episode \#\d+\.\d+', '', self['episodeTitle'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue