I found this out by using the moviedb-3.24 programs.
If you url encode the entire original movie line from movies.list...
for example, on an episode:
"24" (2001) {Day 2: 3:00 a.m.-4:00 a.m. (#2.20)}
becomes
%2224%22%20%282001%29%20%7BDay%202%3A%203%3A00%20a.m.-4%3A00%20a.m.%20%28%232.20%29%7D
and append that to the appropriate IMDb url, in this case it is...
http://www.imdb.com/Title?
so you have
http://www.imdb.com/Title?%2224%22%20%282001%29%20%7BDay%202%3A%203%3A00%20a.m.-4%3A00%20a.m.%20%28%232.20%29%7D
then IMDb will redirect to the correct page.
Names work the same way...
Abraham, Peter (III)
becomes
http://www.imdb.com/Name?Abraham%2C%20Peter%20%28III%29
and it redirects to the correct page.
I tried Company? but that didn't work.
If you've just gotta have the id, a *nix one liner like
curl -i -s "http://www.imdb.com/Name?Abraham%2C%20Peter%20%28III%29" |
grep --color=never Location: | cut -d " " -f 2 | cut -d / -f 5
will do it without retrieving the full page.
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Imdbpy-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/imdbpy-help