microl44 / Julet

Website visualizing data from my watched movies, brought forward by the jul.
3 stars 1 forks source link

Script solution for fetching cover art of movies for movie.php #110

Open microl44 opened 2 months ago

microl44 commented 2 months ago

Movies displayed on the movie.php page is limited by the number of storage cover arts.

This could be downloaded manually, and inserted into the database, but that would take quite a while. A cleaner solution would be to create a script/function that fetches the cover art of a movie on IMDB, save it locally and then write the location to the empty slot in the movie rows in the insert.sql file.

The cleanest solution would be a automatic script that doesn't require user input, and instead determines which movie covers to fetch, based on the empty field in the insert.sql file.