only take season/episode from original air date

This commit is contained in:
j 2010-07-13 11:28:55 +02:00
parent 3010321175
commit e99c44fee6

View file

@ -149,12 +149,18 @@ class Imdb(SiteParser):
}, },
'season': { 'season': {
'page': 'combined', 'page': 'combined',
're': '\(Season (\d+), Episode \d+\)', 're': [
'<h5>Original Air Date:</h5>.*?<div class="info-content">(.*?)</div>',
'\(Season (\d+), Episode \d+\)',
],
'type': 'int' 'type': 'int'
}, },
'episode': { 'episode': {
'page': 'combined', 'page': 'combined',
're': '\(Season \d+, Episode (\d+)\)', 're': [
'<h5>Original Air Date:</h5>.*?<div class="info-content">(.*?)</div>',
'\(Season \d+, Episode (\d+)\)',
],
'type': 'int' 'type': 'int'
}, },
'series': { 'series': {