. ;-)
--
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
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
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
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
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
]. 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
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
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
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
, 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
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
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
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
, 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
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
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
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
(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
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
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
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
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
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
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
!
--
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
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
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
.
--
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
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
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
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
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
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
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
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
')?
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
['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
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
://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
. 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
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
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
.
--
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
. 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
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
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
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
.
--
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
,
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
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
, 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
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
', 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
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
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
.
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
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
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
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
! :-)
--
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
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
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
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
'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
, 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
://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
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
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
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
/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
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
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
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
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
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
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
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
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
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
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
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
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
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
,
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
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
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 - 100 of 220 matches
Mail list logo