What are the Diffs in the Text Files FTP servers?
I read once that they were updates to the main TXT files.
Is that true?
On Sun, Jun 15, 2008 at 8:05 PM, Garland, Ken R <[EMAIL PROTECTED]> wrote:
> Yes I got an email notification from my app about this too.
>
> IMDb seems to always be changing things around. So there must be a new
> "kind" here or at least they changed it around some.
>
> I removed:
>
> #if not title:
> # raise IMDbParserError, 'invalid title: "%s"' % original_t
>
> from imdb/utils.py and was able to get some results but for a test case use
> Goonies as the title and you'll see that it will not be returned in
> something simple like:
>
> ia = IMDb('http')
> mparser = HTMLMovieParser()
> s_result = ia.search_movie('goonies')
> goonies = s_result[0]
> ia.update(goonies)
> print goonies['cover url']
>
>
>
> On Sun, Jun 15, 2008 at 1:06 PM, James Rubino <[EMAIL PROTECTED]>
> wrote:
>
>> This error just started showing up last night, even with tired and true
>> scripts.
>> Any ideas what it is about?
>>
>> Questo rivelare iniziato di errori appena ieri sera. Che cosa sono circa?
>>
>>
>> File "C:\Python25\Lib\site-packages\imdb\__init__.py", line 339, in
>> search_movie
>> res = self._search_movie(title, results)
>> File "C:\Python25\Lib\site-packages\imdb\parser\http\__init__.py", line
>> 331, in _search_movie
>> results=results)['data']
>> File
>> "C:\Python25\Lib\site-packages\imdb\parser\http\searchMovieParser.py", line
>> 196, in parse
>> return ParserBase.parse(self, cont)
>> File "C:\Python25\Lib\site-packages\imdb\parser\http\utils.py", line
>> 534, in parse
>> self.feed(html_string)
>> File "C:\Python25\lib\sgmllib.py", line 99, in feed
>> self.goahead(0)
>> File "C:\Python25\lib\sgmllib.py", line 138, in goahead
>> k = self.parse_endtag(i)
>> File "C:\Python25\lib\sgmllib.py", line 315, in parse_endtag
>> self.finish_endtag(tag)
>> File "C:\Python25\lib\sgmllib.py", line 369, in finish_endtag
>> self.handle_endtag(tag, method)
>> File "C:\Python25\Lib\site-packages\imdb\parser\http\utils.py", line
>> 499, in handle_endtag
>> method()
>> File
>> "C:\Python25\Lib\site-packages\imdb\parser\http\searchMovieParser.py", line
>> 233, in end_td
>> self._k[self.kind]['analyze_f'](title, canonical=1))
>> File "C:\Python25\Lib\site-packages\imdb\utils.py", line 368, in
>> analyze_title
>> raise IMDbParserError, 'invalid title: "%s"' % original_t
>> IMDbParserError: invalid title: ""
>>
>> On Sun, Jun 15, 2008 at 12:05 AM, Davide Alberani <
>> [EMAIL PROTECTED]> wrote:
>>
>>> On Jun 15, James Rubino <[EMAIL PROTECTED]> wrote:
>>>
>>> > Using search_person and reading the dictionary data from those results
>>> I do
>>> > get a list of titles.
>>> > eg. [<Movie id:12345[http] title:_Title1, The (2008)_>]
>>> >
>>> > How do I neatly extract from the list just the titles?
>>>
>>> titles_as_unicode_strings = [movie['title'] for movie in list_of_movies]
>>>
>>> There are other variations of 'title': try 'canonical title',
>>> 'long imdb title' and 'long imdb canonical title' to see which
>>> suites your needs. In general, see:
>>> http://imdbpy.sourceforge.net/?page=docs
>>>
>>>
>>> --
>>> Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
>>> http://erlug.linux.it/~da/ <http://erlug.linux.it/%7Eda/>
>>>
>>
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Imdbpy-devel mailing list
>> Imdbpy-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/imdbpy-devel
>>
>>
>
--
Fran Lebowitz - "You're only has good as your last haircut."
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel