Skip to content

Commit

Permalink
refresh new movies every day
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamlinerm committed Nov 17, 2024
1 parent 4613f5d commit 05a1159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firefox/skipper.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ if (isPrimeVideo || isNetflix || isDisney || isHotstar || isCrunchyroll || isHBO
const diffInReleaseDate =
// vote count is under 80 inaccurate rating
vote_count < 100 &&
// did not refresh rating in the last 2 days
getDiffInDays(DBCache[title].date, date) > 2 &&
// did not refresh rating in the last 0 days
getDiffInDays(DBCache[title].date, date) > 0 &&
// release date is in the last 50 days after not many people will
getDiffInDays(DBCache[title]?.release_date, date) <= 50;

Expand Down

0 comments on commit 05a1159

Please sign in to comment.