skadogg / personal-tv-guide

Python-based JustWatch scraper
GNU General Public License v3.0
6 stars 7 forks source link

🚛 Remove shows from main database when no longer in watchlists #100

Closed skadogg closed 6 months ago

skadogg commented 6 months ago

This could be a little tricky because we'll need to make sure to read all show cards from various watchlists and compare them to the existing database. If a show is still in the database but doesn't have a current show card, then it's been remvoed from the watchlists (for one reason or another).

For me, I just finished watching Scott Pilgrim Takes Off - which is amazing! - but it still appears in my list. It should drop off until a new season becomes available (I hope).

image

image

skadogg commented 6 months ago

Realized we can just read the top of the already seen list, loop through the db to compare, and remove the shows already seen.