only $ bugets

This commit is contained in:
j 2011-10-30 15:34:59 +01:00
parent 78d8f8cc0b
commit 7f6e118e6e

View file

@ -53,7 +53,7 @@ class Imdb(SiteParser):
'budget': {
'page': 'business',
're': [
'<h5>Budget</h5>(.*?)<br',
'<h5>Budget</h5>\s*?\$(.*?)<br',
lambda data: findRe(ox.decodeHtml(data).replace(',', ''), '\d+')
],
'type': 'int'
@ -141,7 +141,7 @@ class Imdb(SiteParser):
'gross': {
'page': 'business',
're': [
'<h5>Gross</h5>(.*?)\(',
'<h5>Gross</h5>\s*?\$(.*?)<br',
lambda data: findRe(data.replace(',', ''), '\d+')
],
'type': 'int'