Skip to content

kkspeed/imdb-top1000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imdb-top1000

A simple toy crawler that craws IMDB top 1000 movies.

Running the Crawler

  1. Install Rust and Cargo, preferrably using rustup and select nightly toolchain.

  2. Run cargo run

Then the crawler will first crawl the page by spawning 8 threads. When it's done, it will spawn a web server at localhost:8000. Send request to http://localhost:8000/your term to see JSON-serialized results.

Possible Future Improvement

  1. Use a "professional" in-memory DB (e.g. redis) instead of an adhoc hashtable to maintain results.
  2. Separate crawling and server executable. Both could talk with the DB backend.

About

Crawler that craws IMDB top 1000 movies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages