Duncan Webb wrote:
> On Thu, 22 February, 2007 9:46 pm, Christian Aistleitner wrote:
>> Hello,
>>
>>
>> Freevo: 1.7.0_rc2
>>
>>
>> due to a format change at imdb, "freevo imdb ..." no longer worked for
>> me. The attached patch reflects these changes.
> 
> - votes = rating.next.next.strip()
> - self.info['rating'] = rating.string.strip() + ' ' + votes.strip()
> + votes = rating.next.next.next.contents[0]
> + self.info['rating'] = rating.string.strip() + ' (' + votes.strip() + ')'
> 
> I wasn't happy about this when I wrote it, as I suspected it would break
> easily. I think that there must be a better way to locate the votes in the
> page. If only imdb would use xml or element id's it the extract would be
> stable.
> 
> Thanks for the patches.

Now in svn, a bit modified.

Duncan


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to