Thanks!
Best Regards,
Ethan Lipnik
>
> On Nov 17, 2017 at 7:11 PM, (mailto:martin.torre.cas...@gmail.com)> wrote:
>
>
>
> Sorry for the previous.
>
>
> If you have the link:
>
>
>
> http://m.imdb.com/title/tt0133093/?ref=m_nv_sr_1
>
>
>
> I think the id is always the number following the
> 'http://m.imdb.com/title/tt'.
>
>
>
> You could import re and use a regular expression.
>
>
>
> import re
>
> match = re.search(r'http://m.imdb.com/title/tt(?P\d*?)/', your_link)
>
> if match:
>
>id = match.group('id')
>
>
>
>
>
> El 18 nov. 2017 1:00 a. m., "Martín Torre Castro"
> mailto:martin.torre.cas...@gmail.com)>
> escribió:
>
> >
> >
> > Do you want to get the IMDb ID using the title of the movie over a whole
> > bunch of movies? Is that it?
> >
> >
> >
> > El 18 nov. 2017 12:01 a. m., "Ethan Lipnik" > (mailto:ethanlip...@gmail.com)> escribió:
> >
> > >
> > > Hello, I'm trying to make an organizer for my company using Python. How
> > > can I get the movie IDs from the link to a movie page?
> > >
> > >
> > > --
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > ___
> > > Imdbpy-help mailing list
> > > Imdbpy-help@lists.sourceforge.net
> > > (mailto:Imdbpy-help@lists.sourceforge.net)
> > > https://lists.sourceforge.net/lists/listinfo/imdbpy-help
> > >
> >
> >--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help