Overlay FilmAffinity ratings directly on Netflix title cards — no manual lookups needed.
The extension injects a small rating badge onto every Netflix title card as you browse. Badges are color-coded by score and link directly to the FilmAffinity film page.
| Badge color | Rating |
|---|---|
| Green | ≥ 7.0 |
| Yellow | 5.0 – 6.9 |
| Red | < 5.0 |
| Grey | Not found |
- Clone this repo.
- Open Firefox and go to
about:debugging→ This Firefox → Load Temporary Add-on. - Select
extension/manifest.json. - Browse to netflix.com — badges appear automatically.
Note: Temporary add-ons are removed when Firefox restarts. For a persistent install, the extension needs to be signed by Mozilla.
- A
MutationObserverwatches for Netflix title cards entering the DOM. - An
IntersectionObserverqueues only visible cards to avoid flooding requests. - The background service worker calls FilmAffinity's autocomplete API, resolves the film ID, fetches the film page, and caches the result in
browser.storage.local. - Subsequent views of the same title are served instantly from cache.
A Python script that scans a local folder of video files, guesses titles with guessit, fetches FilmAffinity ratings, and writes a CSV sorted by rating.
pip install -r requirements.txt# Run on a specific folder
python main.py /path/to/movies
# Run and save that folder for future runs
python main.py /path/to/movies --save
# Run using the saved path (or current directory if none saved)
python main.pyThe saved path is stored in ~/.faratings.cfg.
Output: film_ratings.csv with columns rating, guessed_title, found_title, film_url, file.
pytest # unit tests only
pytest --integration # includes live FilmAffinity requestsRating data sourced from FilmAffinity.
CLI dependencies: BeautifulSoup, requests, guessit, progressbar2.