-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian Lyra wrote:
> Hi,
>
>
> At least this one was easy to fix...
>
> line 641 of utils/fxdimdb.py , from this:
> items = soup.findAll('a', href=re.compile('/title/tt'))
> to:
> items = soup.findAll('a', href=re.compile('^/title/tt'))
>
> I did a minimal test here and it works. I will submit a proper patch
> soon.
>
>> Anything that does screen scraping needs an auto-update mechanism or
>> else this we will continue to subject our users to this endless
>> works-breaks-upgrade cycle. We should talk about this in -devel.
>
> I dont know if it´s a good idea, but there´s a imdpy[1] package that
> seems to do what freevo needs. Re-writing the fxdimd.py shouldnt be
> hard. But this create another external dependency...
>
> [1] http://imdbpy.sourceforge.net/
>
The crash is caused by the name of the movie being None, after some
investigation the problem is really caused by a couple of errors, first
the name needed checking that it was not empty and the 'id' of the movie
was being duplicated. So after fixing these more results were returned
from imdb, this as a bit surprising.
The changes are in subversion.
Duncan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGhVbdNi6l+Xvys44RAm+tAJ4xgzh/Fkv3buBrfRzjfMWkoDsX9QCfcFiX
a9ZD+ZdqBYgEBml8ahxJhIE=
=kUpo
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users