Re: [Imdbpy-devel] we got tests

2006-06-10 Thread Davide Alberani
. ;-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ ___ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Re: [Imdbpy-devel] we got tests

2006-06-15 Thread Davide Alberani
still to completely undestand the difference). I can fix this in the CVS once we agree on indexes definition. You have green light! :-) By the way, I've committed to the cvs a new version: ForeignKey was completely removed (it's still untested). -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID

Re: [Imdbpy-devel] Indexes revamp

2006-06-26 Thread Davide Alberani
an _excellent_ result: way better even than the previous versions of imdbpy2sql.py with only MySQL support! I hope to do some tests with other data access systems and do a new release within a week or so. :-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

[Imdbpy-devel] IMDbPY 2.6 released

2006-07-04 Thread Davide Alberani
I've just released version 2.6: the main news are the improved performance of the imdbpy2sql.py (thanks, Giuseppe :-) This evening/tomorrow I'll spread the news everywhere. ;-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ Using Tomcat but need to do

Re: [Imdbpy-devel] Strange behaviour of get_movie.py in local or sql mode

2006-07-07 Thread Davide Alberani
idea... -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1

[Imdbpy-devel] IMDb site changed

2006-07-20 Thread Davide Alberani
]. Still. :-) +++ [1] let's face it: sooner or later some huge changes to the web pages will broke _everything_. :-/ [2] but remember that mobile will download _less_ information by default. It's not a bug, it's a feature! ;-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47

Re: [Imdbpy-devel] search for too common names

2006-08-29 Thread Davide Alberani
play with the connection and see if I can close it after a given amount of downloaded KB (a mobile can't download 300 KB just to get the first 20 results). Thank you! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] search for too common names

2006-08-31 Thread Davide Alberani
On Aug 30, Davide Alberani [EMAIL PROTECTED] wrote: I can't even call this hack untested, so maybe it won't work at all. :-) Exactly. :-) I'm committing a new version that should work: the correct solution was to use the HTTP Range header. At least... theoretically. After a simple test

Re: [Imdbpy-devel] search for too common names

2006-08-31 Thread Davide Alberani
On Aug 31, Davide Alberani [EMAIL PROTECTED] wrote: At least... theoretically. After a simple test it looks like that the IMDb.com web server ignores the Range header. :-/ More or less: the server returns a 200 (instead of the expected 206, for a Range request), but the connection ends after

[Imdbpy-devel] next release

2006-09-24 Thread Davide Alberani
, and if there are no bad surprises, 2.7 will be out within within 7/10 days. If you've spotted a bug, it's a good time to speak out. :-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - Take Surveys

Re: [Imdbpy-devel] overall TV Series info in SQL

2006-10-18 Thread Davide Alberani
by imdbpy2sql.py) takes more or less the same amount of time to complete. [2] http://www.jmdb.de/ -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - Using Tomcat but need to do more? Need

[Imdbpy-devel] SQL ORM: to switch or not to switch?

2006-11-16 Thread Davide Alberani
smoothly... I'll download the latest SQLAlchemy from the svn and I'll give a look at the documentation, but actually I'm quite lazy... g -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

[Imdbpy-devel] IMDbPY 2.8 released

2006-12-14 Thread Davide Alberani
As usual, IMDbPY 2.8 can be downloaded from: http://imdbpy.sf.net Major bug fixes, and support for FAQs about movies and airing dates for tv series. Enjoy! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] Episode list bug in http access method

2007-02-17 Thread Davide Alberani
, haven't had a chance to dig into it yet but maybe I will at some stage. You're welcome! :-) Thanks for the report, -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ #!/usr/bin/python from imdb import IMDb from imdb.helpers import * ia = IMDb() ts

[Imdbpy-devel] The Big One!

2007-02-19 Thread Davide Alberani
Oh my! The terror! The horror! The end is nigh! We're all doomed! Ok... I'm calm. ;-) Short version: the redesign of the IMDb's site is in place. I'll run the test-suite to check what's broken (almost everything seems a reasonable approximation ;-) -- Davide Alberani [EMAIL PROTECTED

[Imdbpy-devel] IMDbPY 2.9 released

2007-02-22 Thread Davide Alberani
wants to help, I can write the (very simple) instructions about how to use the test-suite - temporary stored here: http://erlug.linux.it/~da/tmp/imdbpy-3.0-testsuite.tar.gz Enjoy, -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] development on new design

2007-03-05 Thread Davide Alberani
On Feb 25, Davide Alberani [EMAIL PROTECTED] wrote: I've taken the first steps to begin to work on the new design of the IMDb site. Being an incredibly gifted programmer (or, if you listen to my detractors, being the new IMDb's HTML much cleaner and easier to parse ;-) the work to support

Re: [Imdbpy-devel] imdbpy2sql error

2007-03-14 Thread Davide Alberani
(IMDbPY in this case) to lose connection with your MySQL server? PS: if possible, use the latest CVS version of IMDbPY, fetching the newdesign branch from CVS: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/imdbpy co -r newdesign imdbpy Hope this helps, -- Davide Alberani [EMAIL PROTECTED] [PGP

Re: [Imdbpy-devel] Set User-agent to user defined value ?

2007-03-24 Thread Davide Alberani
own header: new_headers.append(('User-agent', 'MyMightyBrowser 6.0')) ia.urlOpener.addheaders = new_headers Many thanks, keep up the good work, HTH. PS: out of curiosity, why do you need to change the User-agent header? -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http

Re: [Imdbpy-devel] Extracting runtimes only?

2007-04-20 Thread Davide Alberani
can see in the info_type table) has id = 1. So you can now query the movie_info table for rows with the movie_id field set to the movieID you're searching and info_type_id set to 1; the results will be a list of fields, with the 'runtime' data in the info column. HTH, -- Davide

Re: [Imdbpy-devel] Extracting runtimes only?

2007-04-20 Thread Davide Alberani
people might need it, but I'd like to know whether I should keep an eye out for native functionality, or trust my own query. In the short term, you'll have to do this with your own hands. :-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] Unable to get IMDb for specific entry

2007-05-10 Thread Davide Alberani
complains for this change. ;-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take

Re: [Imdbpy-devel] Updating an imdbpy SQL database

2007-05-18 Thread Davide Alberani
in designing and coding such an frightful beast. :-) So, anonymous developer out there: if you're brave enough to help with this near-impossible task, stand up and shout all your pride of Python developer! ;-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] [noob question] getting cast credits from an actor's list of movies

2007-05-24 Thread Davide Alberani
canonical name'] will turn to Harrison, Richard (II) In 'local' and 'sql' the movie['cast'] list always contains Person instances with the name complete of imdbIndex. Not a big deal, but may create confusion. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

[Imdbpy-devel] Symbian Series 60 GUI

2007-05-29 Thread Davide Alberani
! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: [Imdbpy-devel] Dead download link for a project using imdbpy

2007-06-18 Thread Davide Alberani
not sure it's the latest version). -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: [Imdbpy-devel] Question about how to convert movieid to imdbid

2007-09-29 Thread Davide Alberani
On Sep 29, Davide Alberani [EMAIL PROTECTED] wrote: You can use the get_imdbID(movie) or get_imdbMovieID(movieID) methods of the IMDb instance you use to access the SQL database. Besides that, when you access a movieID or a personID using the sql data access system (with the above methods

[Imdbpy-devel] MS SQL Server support

2007-10-08 Thread Davide Alberani
. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events

Re: [Imdbpy-devel] characters

2007-11-10 Thread Davide Alberani
On Nov 07, Davide Alberani [EMAIL PROTECTED] wrote: In the next days, many many news and a lot of confusion. g I've committed the last version (3.3.CHARACTER.cvs20071110b). Only for 'http'/'httpThin' and 'mobile': full support for character pages, including retrieving information about

Re: [Imdbpy-devel] characters

2007-11-15 Thread Davide Alberani
On Nov 10, Davide Alberani [EMAIL PROTECTED] wrote: In the next days, many many news and a lot of confusion. g I've committed the last version (3.3.CHARACTER.cvs20071110b). In the hope to get more tests, I've committed the new code to the trunk; the character branch will not be updated

Re: [Imdbpy-devel] new features

2007-11-24 Thread Davide Alberani
On Nov 21, Davide Alberani [EMAIL PROTECTED] wrote: In the CVS: - support for characters in 'sql'. And, too good to be true, now there's also support for characters in local! :-) You need to run the characters4local.py script to create some files. -- Davide Alberani [EMAIL PROTECTED] [PGP

Re: [Imdbpy-devel] No results from exact matches when popular titles match [resolved]

2008-01-01 Thread Davide Alberani
year! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go

Re: [Imdbpy-devel] AttributeError: 'NoneType' object has no attribute 'sqlmeta'

2008-01-08 Thread Davide Alberani
the latest CVS version: http://imdbpy.sourceforge.net/imdbpy-cvs.tar.gz Looks like one of the bugs fixed handling a recent bug report. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] IMDbPY Movie.summary() encoding bug

2008-02-27 Thread Davide Alberani
for the report! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com

Re: [Imdbpy-devel] IMDbPY on Symbian

2008-02-27 Thread Davide Alberani
On Feb 05, Davide Alberani [EMAIL PROTECTED] wrote: I've a nokia n70 at hand, and I'm trying to improve IMDbPY on Symbian. There are many things to do, so I'm here asking for help. I've written some code (~1200 lines) and I think - in an excess of humility ;-) - that the result is very very

Re: [Imdbpy-devel] no cover url key given

2008-03-04 Thread Davide Alberani
')? Anyway, there are at least two versions of the HTML surrounding the 'cover url': one for movies with a photo gallery and one for movies without; maybe something has changed. Thanks! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

[Imdbpy-devel] IMDbPY for Symbian

2008-03-11 Thread Davide Alberani
that no data connection is required. Obviously the code is still in a very early stage, and so I'm here fundamentally searching for someone interested in helping the development, since my skills as Symbian developer are very limited. Any help will be greatly appreciated! -- Davide Alberani [EMAIL

Re: [Imdbpy-devel] Patch to dbschema.py for data conversion with imdbpy2sql.py

2008-04-07 Thread Davide Alberani
On Apr 06, Davide Alberani [EMAIL PROTECTED] wrote: 3. cut the strings somewhere. Until valid reasons to do otherwise, I chose the above and cut the length of 'mini biography' to 2**16-1 chars in the imdb.parser.local.personParser module. The fix is already in the CVS. I think it's about time

[Imdbpy-devel] IMDbPY 3.5

2008-04-19 Thread Davide Alberani
Time to release... The 3.5 version is available: http://imdbpy.sf.net/ It includes a lot of bug-fixes and some minor features developed in the last months. Enjoy! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] Error installing 3.5

2008-04-30 Thread Davide Alberani
release (2.4, in this case). I'll try to learn what I've to do to compile C modules with cygwin for Python 2.5, but don't hold your breath in the wait... ;-) As usual, any help is appreciated. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] FW: ZeroDivisionError: integer division or modulo by zero

2008-05-01 Thread Davide Alberani
. Moreover, the Diagnostic-Code: smtp; 550 Sender verify failed sounds like the mail server at sourceforge.net doesn't like/trust your mail server - no, not at all. :-) I fear I can do nothing about it. Thanks again! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] Getting movie plot outline and synopsis

2008-05-04 Thread Davide Alberani
On May 03, Amit Belani [EMAIL PROTECTED] wrote: The plot outline does not work for me. Looks like there were some (minor?) changes in the HTML of the IMDb site. I'll run the test-suite as soon as possible. Thanks for your help! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47

Re: [Imdbpy-devel] allo allo

2008-05-19 Thread Davide Alberani
method. :-) Anyway, this is an example: import imdb ia = imdb.IMDb('http') ia.do_adult_search(True, cookie_id=YOUR_ID_STRING, cookie_uu=YOUR_UU_STRING) results = ia.search_movie('title to search') -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http

Re: [Imdbpy-devel] allo allo

2008-05-19 Thread Davide Alberani
On May 18, Davide Alberani [EMAIL PROTECTED] wrote: I can think of two causes: 1. IMDbPY uses the akas.imdb.com server; maybe it handles queries in a slightly different way. The above one appears to be the correct one, at least from a fast test: http://akas.imdb.com/find?s=ttq=allo+allo

Re: [Imdbpy-devel] adultSearch

2008-05-19 Thread Davide Alberani
distributed through sourceforge: http://sf.net/project/showfiles.php?group_id=105998package_id=230784 It still doesn't support Company objects (my local copy does, and I'll update the CVS version as soon as possible). Bye, -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http

Re: [Imdbpy-devel] adultSearch

2008-05-20 Thread Davide Alberani
downloaded yesterday or two days ago, I don't know how to check which revision it is with CVS. You can see the version this way: import imdb print imdb.VERSION Thank you again for the reports; I've added your name to the credits. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47

[Imdbpy-devel] call for developers

2008-05-20 Thread Davide Alberani
good tests is welcome! So if you are interested in joining the IMDbPY's development, let me know! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.net email is sponsored

Re: [Imdbpy-devel] adultSearch

2008-05-20 Thread Davide Alberani
photos on title pages and search result images: ON Use former title name page design: OFF Search Preferences: Result Display: Display close popular matches first, then other matches. Redirect Behavior: Never redirect Display Episodes for Current Series: OFF -- Davide

Re: [Imdbpy-devel] call for developers

2008-05-21 Thread Davide Alberani
On May 20, Davide Alberani [EMAIL PROTECTED] wrote: - only the http searches (as above, but more limited in scope). In fact, I notice only now that the actual parsers for the search results (both for 'http' - located in the searchMovieParser.py file - and for 'mobile') are a complete mess

Re: [Imdbpy-devel] need sql server connection string example

2008-06-04 Thread Davide Alberani
IDENTITY_INSERT calls; this doesn't make much sense to me (but I've never used MS SQL Server, so there's probably something I don't understand). Thank your for the reports and the tests! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] Distilling Title Lists from Person's Filmography

2008-06-15 Thread Davide Alberani
['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

Re: [Imdbpy-devel] IMDbParserError: invalid title: ??

2008-06-16 Thread Davide Alberani
a simple test code that triggers the problem? I've tried searching for goonies, as suggested by Ken, but I've had no problem at all. Anyway, I'll run my test-suite ASAP; as a first impression, it looks like another minor change to the IMDb.com's html. :-/ Thanks, -- Davide Alberani [EMAIL

Re: [Imdbpy-devel] Text File Diffs

2008-06-16 Thread Davide Alberani
://ftp.fu-berlin.de/pub/misc/movies/database/diffs/ You can apply a diff with the Unix patch program (I'm sure ports exists even for Windows). I read once that they were updates to the main TXT files. True. Using these to update a SQL database would be very cool and extremely difficult. -- Davide

Re: [Imdbpy-devel] IMDbParserError: invalid title: ??

2008-06-16 Thread Davide Alberani
. Turgut Uyar has the potential to allow us to write something that resembles an auto-learner for the html of the IMDb's web pages. Obviously this is not a near-term objective, and anyone who is able to write code is invited to join. :-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http

Re: [Imdbpy-devel] Local Installations

2008-06-17 Thread Davide Alberani
me know and I'll update mine. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about

Re: [Imdbpy-devel] Local Installations

2008-06-18 Thread Davide Alberani
is welcome! :-) +++ [1] http://prdownloads.sf.net/imdbpy/IMDbPY-win32-docs-3.6.zip?download -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - Check out the new SourceForge.net

Re: [Imdbpy-devel] First patch for DOM parser

2008-06-21 Thread Davide Alberani
. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http

Re: [Imdbpy-devel] First patch for DOM parser

2008-06-23 Thread Davide Alberani
. iterate over the returned dictionary, searching for unicode strings and replace the contained entities in place. But I think this is not an urgent issue (even if it must be fixed, before a release). Thanks! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] First patch for DOM parser

2008-06-25 Thread Davide Alberani
what I had in mind. Now wait a little (some days): I want to separate this parser from the old code, and I want to try to implement another parser based on DOM/XPath (or I'll never learn it, without some practice :-) Thank you (and good luck for the match against Germany ;-) -- Davide Alberani

Re: [Imdbpy-devel] First patch for DOM parser

2008-06-29 Thread Davide Alberani
match. After the first half of Italy-Spain, I had to put needles under my nails to keep me awake... ;-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - Check out the new

Re: [Imdbpy-devel] First patch for DOM parser

2008-07-02 Thread Davide Alberani
to return also the other search results using only parse_dom ok, otherwise let's use postprocess_data for all of these parsers. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] bug report : vdbpy_add.py + vdbpy_batch.py

2008-07-02 Thread Davide Alberani
. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ #!/usr/bin/env python vdbpy_batch.py Process a number of movies in batch. import sys, os, ConfigParser, getopt, commands import MySQLdb import _mysql_exceptions import imdb DUMP = 0 DUMP_WHERE = '' UPDATE = 0

Re: [Imdbpy-devel] First patch for DOM parser

2008-07-03 Thread Davide Alberani
, but just separated by hr and I can't find an easy way to express - with XPath - the portion of document I need. Can you write me an example, for a parser for: http://akas.imdb.com/title/tt0133093/quotes ? Thanks! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it

Re: [Imdbpy-devel] First patch for DOM parser

2008-07-03 Thread Davide Alberani
the notes in italic, but I don't know if it's too difficult to support it for bsoup. Thanks! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - Sponsored by: SourceForge.net Community

Re: [Imdbpy-devel] First patch for DOM parser

2008-07-05 Thread Davide Alberani
, another dictionary... Maybe the code is already good enough and I still have just to grasp it. :-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - Sponsored by: SourceForge.net

Re: [Imdbpy-devel] First patch for DOM parser

2008-07-10 Thread Davide Alberani
is to write other parser, and see if parse_dom/extractors can be better defined/structured. PS: the new parser raise an exception, if used with bsoup. Thanks, -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] First patch for DOM parser

2008-07-15 Thread Davide Alberani
', oldParsers=True) p = i.get_person('154') print p, p.keys() The default for oldParsers is False, so the new parsers are used. I think this can improve a lot the debugging process. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] First patch for DOM parser

2008-07-17 Thread Davide Alberani
ones. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications

Re: [Imdbpy-devel] Simplifying the DOM parser

2008-07-19 Thread Davide Alberani
directories: standalone.new and standalone.old. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build

Re: [Imdbpy-devel] Simplifying the DOM parser

2008-07-21 Thread Davide Alberani
. In the last hours I've committed some fixed for searches (now direct hits are handled) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move

Re: [Imdbpy-devel] Simplifying the DOM parser

2008-07-24 Thread Davide Alberani
the main movie_parser, if you're not already working on it. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge

Re: [Imdbpy-devel] Simplifying the DOM parser

2008-08-10 Thread Davide Alberani
DOMHTMLMovieParser begins to be good enough, but I've encountered a problem: the 'blackcatheader' Extractor fails, if lxmladapter is used (while it works with bsoup). Looks like the 'comp-link' (./a/@href) path is not collected, for some reason. Thanks! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID

Re: [Imdbpy-devel] search_movie(some show) always returns an error

2008-08-15 Thread Davide Alberani
above doesn't match with the latest version, so I assume you're still using IMDbPY 3.5. If the problem persists, let me know (and don't forget to put an example or two of imdbIDs that raise the problem)! Thanks. +++ [1] http://imdbpy.sourceforge.net/?page=download#cvs -- Davide Alberani [EMAIL

Re: [Imdbpy-devel] Extractor grouping in DOM parser

2008-08-20 Thread Davide Alberani
! :-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK

Re: [Imdbpy-devel] Extractor grouping in DOM parser

2008-08-20 Thread Davide Alberani
because lxml is already doing the same thing? I don't know if beautifulsoup adopts a similar solution. Anyway, I'd leave it in place (even if not noticeable, a local python dictionary is always faster). Thanks! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

[Imdbpy-devel] new mailing list for users

2008-08-22 Thread Davide Alberani
I've created a new mailing list, reserved for users seeking for help: [EMAIL PROTECTED] Anyone interested, can subscribe from here: https://lists.sourceforge.net/lists/listinfo/imdbpy-help This mailing list (imdbpy-devel) will remain for developers and bug reports. Thanks, -- Davide

Re: [Imdbpy-devel] mysql populating

2008-08-31 Thread Davide Alberani
0.11 from the SVN repository. So far, it works (I'll leave it going, anyway). Can you provide me a log of the error and the version you're using? Thanks! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] MSQL Errors

2008-09-02 Thread Davide Alberani
'movies', 'actors', 'actresses', ... first). -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest

Re: [Imdbpy-devel] DOM Parser

2008-09-02 Thread Davide Alberani
, or you just give up? :-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based

Re: [Imdbpy-devel] Ratings entry disappeared from all movie results

2008-09-16 Thread Davide Alberani
://arstechnica.com/news.ars/post/20080916-amazon-brings-streaming-tv-shows-movies-to-imdb.html [2] http://sourceforge.net/mailarchive/forum.php?thread_name=6f1a10a60809021010n35e6a072h829842b630047436%40mail.gmail.comforum_name=imdbpy-devel -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47

Re: [Imdbpy-devel] Ratings entry disappeared from all movie results

2008-09-17 Thread Davide Alberani
On Sep 17, Davide Alberani [EMAIL PROTECTED] wrote: Don't start fixing the old (SAX) parsers; I'll do it, but there's no need to learn that old internals. The fixes for the old parsers (and for the new ones, too) are in the CVS. The 'episodes' old parser will not be fixed, being way too

Re: [Imdbpy-devel] Ratings entry disappeared from all movie results

2008-09-17 Thread Davide Alberani
attributes. That's funny, and I can't reproduce this behavior. If you have a test-case to show me (an imdbID for a movie/person is enough), I can look at it. Davide, do you see similar results? As far as I can tell, (more or less) everything work for me. Thanks for your reports! -- Davide Alberani

Re: [Imdbpy-devel] Missed few files, can I just import those

2008-09-18 Thread Davide Alberani
over a manual drop: the collected imdbIDs are saved). One of my long time wet dreams is to use the diffs weekly distributed by IMDb to update a live database, but I fear the task is beyond my abilities (search for previous threads on the argument, in this mailing lsit). -- Davide Alberani [EMAIL

Re: [Imdbpy-devel] Missed few files, can I just import those

2008-09-18 Thread Davide Alberani
/whateverID internally used by the db). So it's normal, if there's no data, yet. -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move

Re: [Imdbpy-devel] Missed few files, can I just import those

2008-09-18 Thread Davide Alberani
in requesting this feature? Besides admiration for such an high intellectual challenge? ;-) Seriously: there is interest, but so far noone has offered his body in sacrifice to The Mighty Python to help... ;-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

[Imdbpy-devel] IMDbPY 3.7 released

2008-09-22 Thread Davide Alberani
with the BeautifulSoup module (included in the package). Enjoy (and read the README.newparsers file... ;-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored

Re: [Imdbpy-devel] Missed few files, can I just import those

2008-09-23 Thread Davide Alberani
be a good idea to start with a very simple and limited prototype: just read a short subset of movies.list.gz (an _extremely_ trivial file) and a very simple patch (with movies added, removed and/or renamed). Release 3.7 is just around the corner. Maybe after that I'll be crazy enough... ;-) -- Davide

Re: [Imdbpy-devel] Encode problems?

2008-09-23 Thread Davide Alberani
is to convert it to str() everywhere. I have notice that when I easy_install imdbpy, lxml and beautifulsoup was not installed has a dependency... That's another thing to check, I don't even known if it's doable... Thanks for the report! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http

Re: [Imdbpy-devel] Missed few files, can I just import those

2008-09-24 Thread Davide Alberani
of the imdbpy2sql.py script. The imdbID field is preserved, but the match is made amongst title, imdbIndex, year (where applicable) and not using the IDs. Managing the diffs files, you also need to preserve them: I can smell the problems a mile away... ;-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID

Re: [Imdbpy-devel] Encode problems?

2008-09-24 Thread Davide Alberani
title']) print outp.encode(out_encoding, 'replace') But I'm wondering how many pieces of code out there are broken the same way... -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] Encode problems?

2008-09-25 Thread Davide Alberani
On Sep 23, Davide Alberani [EMAIL PROTECTED] wrote: Maybe the safest thing is to convert it to str() everywhere. Done in the CVS; it was quite simple. In the future, I'll also fix the example scripts, because after all this was a conceptual bug in how they handle strings to output. -- Davide

Re: [Imdbpy-devel] minor changes to DOM

2008-10-12 Thread Davide Alberani
On Oct 12, Davide Alberani [EMAIL PROTECTED] wrote: The next step is to move the gather_refs This one, is done. :-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net

Re: [Imdbpy-devel] minor changes to DOM

2008-10-12 Thread Davide Alberani
On Oct 12, Davide Alberani [EMAIL PROTECTED] wrote: For _fix_rowspans it will be probably required to write some other adapter functions Done this one, too. It's no more a special case, and is handled directly in the DOMHTMLAwardsParser class. Working with the new DOM/XPath infrastructure

Re: [Imdbpy-devel] minor changes to DOM

2008-10-13 Thread Davide Alberani
in the preprocess_dom method of the DOMHTMLMovieParser. Wooops. I've played too much. :-) Fixed, thanks. I was going to look at this today, but man you're fast :-) To be honest, I've just copied your _fix_rowspans function written for lxml. :-) -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID

Re: [Imdbpy-devel] Bug: imdbpy2sql.py and DB2 9.5

2008-11-13 Thread Davide Alberani
you read data from an existing database?); after that we should know if SQLAlchemy is creating a correct query. Anyway, a test with SQLAlchemy 0.5 looks like a good idea, now. Thank you very much! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] Bug: imdbpy2sql.py and DB2 9.5

2008-11-14 Thread Davide Alberani
consider a downgrade (I assume it will be already difficult enough to nail the problem without using incompatibles versions. ;-) Thanks! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da

Re: [Imdbpy-devel] Bug: imdbpy2sql.py and DB2 9.5

2008-11-14 Thread Davide Alberani
the engine (create_engine), binding it to the metadata and then connecting... BTW: If you need access to a DB2 database for debugging purposes, I can create you an account on our database ... Just let me know. :-) Right now I hope it would not be necessary, but thanks! :-) -- Davide Alberani [EMAIL

Re: [Imdbpy-devel] Bug: imdbpy2sql.py and DB2 9.5

2008-11-15 Thread Davide Alberani
, IMDbPY works with every other database, and so...) HTH, -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ #!/usr/bin/env python from sqlalchemy import * # Your connection data. CONNECT_URI = 'sqlite:tmp/TEST_DB' #CONNECT_URI = 'ibm_db_sa://USER:[EMAIL

Re: [Imdbpy-devel] Bug: imdbpy2sql.py and DB2 9.5

2008-11-15 Thread Davide Alberani
it work, let me know, please. Thank you again for your effort! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move Developer's

Re: [Imdbpy-devel] Bug: imdbpy2sql.py and DB2 9.5

2008-11-16 Thread Davide Alberani
IMDbPY, so it's possible a bug on our side. Thanks! -- Davide Alberani [EMAIL PROTECTED] [PGP KeyID: 0x465BFD47] http://erlug.linux.it/~da/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge

  1   2   3   >