Re: [Imdbpy-help] IMDb IDs aren't really necessary for names and titles

2011-03-31 Thread Petite Abeille
On Mar 31, 2011, at 6:23 AM, Michael Grier wrote: Oh, and IMDb doesn't allow HEAD requests... you get a 405 Method not allowed or something like that. Right you are... no HEAD at IMDb... In any case, a search will properly redirect to an unique hit...the secret to happiness is to search

Re: [Imdbpy-help] IMDb IDs aren't really necessary for names and titles

2011-03-30 Thread Davide Alberani
On Tue, Mar 29, 2011 at 07:13, Michael Grier mr.michael.gr...@gmail.com wrote: 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: Yes, it's the old search system and more or less what it used to

Re: [Imdbpy-help] IMDb IDs aren't really necessary for names and titles

2011-03-30 Thread Michael Grier
On Tue, Mar 29, 2011 at 07:13, Michael Grier mr.michael.grier@... wrote: 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: Yes, it's the old search system and more or less what it used to be

Re: [Imdbpy-help] IMDb IDs aren't really necessary for names and titles

2011-03-30 Thread Michael Grier
Oh, and IMDb doesn't allow HEAD requests... you get a 405 Method not allowed or something like that. On 3/30/11, Michael Grier mr.michael.gr...@gmail.com wrote: On Tue, Mar 29, 2011 at 07:13, Michael Grier mr.michael.grier@... wrote: I found this out by using the moviedb-3.24 programs. If you

[Imdbpy-help] IMDb IDs aren't really necessary for names and titles

2011-03-29 Thread Michael Grier
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

Re: [Imdbpy-help] IMDb IDs aren't really necessary for names and titles

2011-03-29 Thread Petite Abeille
On Mar 29, 2011, at 7:13 AM, Michael Grier wrote: 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 Nice :) Also you can use HEAD instead of GET (e.g. -I/--head in curl). Checking for a 302 would not hurt