abhinayrathore/PHP-IMDb-Scraper — pull request #1 by AndreiTelteu (2014-08-23 10:33:18+00:00)
Title: getMovieInfoById - extract id from url input

If you do
getMovieInfoById("http://www.imdb.com/title/tt2692904/");
it will extract the id from that url string. ("2692904")
We can do a separate function like getMovieInfoByUrl but there is no reason for that. This way is better, in my opinion.