IMBd: Fix typo. (See GH-138.)

master
Valentin Lorentz 2013-08-25 21:39:07 +02:00
parent 24d0e4e184
commit 63cd704006
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class IMDb(callbacks.Plugin):
if elem:
year = elem[0].text
else:
year = unid(root.xpath('//h1[span/@itemprop="name"]/span[last()]')[0].text.strip().strip(')(').replace(u('\u2013', '-')))
year = unid(root.xpath('//h1[span/@itemprop="name"]/span[last()]')[0].text.strip().strip(')(').replace(u('\u2013'), '-'))
elem = root.xpath('//div[@class="star-box-details"]/strong/span|//div[@class="star-box-details"]/span[@class="mellow"]/span')
if elem: