|
| 1 | +DATA_SOURCES = [ |
| 2 | + 'https://www.imdb.com/chart/top', |
| 3 | + 'https://www.rottentomatoes.com/top/bestofrt/', |
| 4 | + 'https://www.metacritic.com/browse/movies/score/metascore/all/filtered', |
| 5 | + 'https://www.themoviedb.org/movie/top_rated', |
| 6 | + 'https://www.boxofficemojo.com/chart/top_lifetime_gross/?area=XWW', |
| 7 | + 'https://www.the-numbers.com/movie/budgets/all', |
| 8 | + 'https://www.the-numbers.com/movie/production-companies/', |
| 9 | + 'https://www.the-numbers.com/movie/keywords', |
| 10 | + 'https://www.the-numbers.com/movie/genres', |
| 11 | + 'https://www.the-numbers.com/movie/franchises', |
| 12 | + 'https://www.the-numbers.com/movie/creative-type', |
| 13 | + 'https://www.the-numbers.com/movie/production-method', |
| 14 | + 'https://www.the-numbers.com/movie/source', |
| 15 | + 'https://www.the-numbers.com/movie/production-status', |
| 16 | + 'https://www.the-numbers.com/movie/production-countries', |
| 17 | + 'https://www.the-numbers.com/movie/languages', |
| 18 | + 'https://www.the-numbers.com/movie/certifications', |
| 19 | + 'https://www.the-numbers.com/movie/mpaa-ratings', |
| 20 | + 'https://www.the-numbers.com/movie/running-times', |
| 21 | + 'https://www.the-numbers.com/movie/decades', |
| 22 | + 'https://www.the-numbers.com/movie/release-dates', |
| 23 | + 'https://www.the-numbers.com/movie/release-types', |
| 24 | + 'https://www.the-numbers.com/movie/weekend-box-office-chart', |
| 25 | + 'https://www.the-numbers.com/movie/weekly-box-office-chart', |
| 26 | + 'https://www.the-numbers.com/movie/weekend-per-theater-chart', |
| 27 | + 'https://www.the-numbers.com/movie/weekly-per-theater-chart', |
| 28 | + 'https://www.the-numbers.com/movie/theater-count', |
| 29 | + 'https://www.the-numbers.com/movie/market', |
| 30 | + 'https://www.the-numbers.com/movie/production-countries', |
| 31 | + 'https://www.the-numbers.com/movie/production-method', |
| 32 | + 'https://www.the-numbers.com/movie/source', |
| 33 | + 'https://www.the-numbers.com/movie/production-status', |
| 34 | + 'https://www.the-numbers.com/movie/production-countries', |
| 35 | + 'https://www.the-numbers.com/movie/languages', |
| 36 | + 'https://www.the-numbers.com/movie/certifications', |
| 37 | + 'https://www.the-numbers.com/movie/mpaa-ratings', |
| 38 | + 'https://www.the-numbers.com/movie/running-times', |
| 39 | + 'https://www.the-numbers.com/movie/decades', |
| 40 | + 'https://www.the-numbers.com/movie/release-dates', |
| 41 | + 'https://www.the-numbers.com/movie/release-types', |
| 42 | + 'https://www.the-numbers.com/movie/weekend-box-office-chart', |
| 43 | + 'https://www.the-numbers.com/movie/weekly-box-office-chart', |
| 44 | + 'https://www.the-numbers.com/movie/weekend-per-theater-chart', |
| 45 | + 'https://www.the-numbers.com/movie/weekly-per-theater-chart', |
| 46 | + 'https://www.the-numbers.com/movie/theater-count', |
| 47 | + 'https://www.the-numbers.com/movie/market', |
| 48 | + 'https://www.the-numbers.com/movie/production-companies', |
| 49 | + 'https://www.the-numbers.com/movie/keywords', |
| 50 | + 'https://www.the-numbers.com/movie/genres', |
| 51 | + 'https://www.the-numbers.com/movie/franchises', |
| 52 | + 'https://www.the-numbers.com/movie/creative-type', |
| 53 | + 'https://www.the-numbers.com/movie/production-method', |
| 54 | + 'https://www.the-numbers.com/movie/source', |
| 55 | +] |
| 56 | + |
| 57 | + |
| 58 | +def fetch_from_sources(crawl_movie_data_and_store=None): |
| 59 | + for source in DATA_SOURCES: |
| 60 | + crawl_movie_data_and_store.delay(source) |
0 commit comments