soldair / node-moviesearch

nodejs plain text movie title search via scrapers for movie info, images, and more. does not save or cache data.
4 stars 1 forks source link

Broken and uncontinued? #1

Open Phoscur opened 12 years ago

Phoscur commented 12 years ago

I'm trying to build my own film album for my movie collection. (read dir, get imdb info, save to file, html ui)

So now as I'm giving your module a try, it won't run without some more time investment (various issues).

I fixed the "extend is a reserved word", and imdb undefined (from your example) and now I'm stuck at

http.createClient is deprecated. Use `http.request` instead.

D:\Projects\Filmalbum\node_modules\moviesearch\imdb.js:21
                                        ,main = $("#main")
                                                ^
TypeError: undefined is not a function
    at module.exports.exports.search.titles (D:\Projects\Filmalbum\node_modules\mov
iesearch\imdb.js:21:14)
    at module.exports.exports.injectScript (D:\Projects\Filmalbum\node_modules\movi
esearch\lib\scraper.js:86:4)
    at fs.readFile (fs.js:176:14)
    at Object.oncomplete (fs.js:297:15)

Are you planning on doing more on this (fixing it) or should I consider starting from scratch with APIfy?http://apify.heroku.com/resources?catalog=I

soldair commented 11 years ago

hey man. sorry for not responding. im sure you have solved your issue already but if not and you are still interested i would love to patch this so it works.

Phoscur commented 11 years ago

Hey. Would be great to have a module to get imdb information. I tried writing my own, but I managed only to get like 50% of the correct cover urls (I got like 200-300 films, and lots of series I haven't even bothered to think about yet). I'm also interested in the trailers and all kinds of information on the film. You would certainly do me a favor renewing this.

soldair commented 11 years ago

if you have some test queries you are interested in i can try to at least make sure they work

On Tue, Nov 20, 2012 at 5:28 PM, Phoscur notifications@github.com wrote:

Hey. Would be great to have a module to get imdb information. I tried writing my own, but I managed only to get like 50% of the correct cover urls (I got like 200-300 films, and lots of series I haven't even bothered to think about yet). I'm also interested in the trailers and all kinds of information on the film. You would certainly do me a favor renewing this.

— Reply to this email directly or view it on GitHubhttps://github.com/soldair/node-moviesearch/issues/1#issuecomment-10582201.

Phoscur commented 11 years ago

Here is my current database: https://c9.io/phoscur/filmalbum/workspace/films.json Best way I suggest to find the title is searching for a year or the quality in the filename, taking every character before that and removing any non alphabetic/numeric signs from it, matching that against imdb entries.

Phoscur commented 11 years ago

So are you planning on continuing this? Can I expect a working version this year?

soldair commented 11 years ago

yup. i work at an ecommerce company so with black friday and cyber monday looming i have not had time.

On Sun, Nov 25, 2012 at 8:20 AM, Phoscur notifications@github.com wrote:

So are you planning on continuing this? Can I expect a working version this year?

— Reply to this email directly or view it on GitHubhttps://github.com/soldair/node-moviesearch/issues/1#issuecomment-10695119.