Skip to content

add additional list type support - #33

Merged
ryanpag3 merged 1 commit into
mainfrom
add-additional-list-type-support
Nov 12, 2025
Merged

add additional list type support#33
ryanpag3 merged 1 commit into
mainfrom
add-additional-list-type-support

Conversation

@ryanpag3

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings November 12, 2025 01:43
@github-actions

Copy link
Copy Markdown

Coverage after merging add-additional-list-type-support into main will be

97.76%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   index.ts92%50%100%94.44%33–34
src/api
   radarr.ts96%88.24%100%97.98%114, 148, 183–185, 193
src/scraper
   index.ts89.47%84.21%100%91.18%53, 64, 64–66, 85
   list.ts98.41%91.67%100%100%64
   movie.ts100%100%100%100%
src/util
   env.ts100%100%100%100%
   logger.ts100%100%100%100%

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for scraping actor, director, and writer filmography pages from Letterboxd. The implementation reuses the existing ListScraper class since filmography pages share the same HTML structure as regular lists.

  • Consolidates filmography case statements with watchlist and regular list cases
  • Updates unit and integration tests to verify filmography scraping functionality
  • Updates README documentation to move filmography URLs from "Planned Support" to "Currently Supported"

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/scraper/index.ts Adds filmography case statements to the existing list scraping logic, removes TODO error throws
src/scraper/index.test.ts Updates tests to verify filmography scraping works correctly instead of expecting errors
src/scraper/index.itest.ts Adds integration tests for all three filmography types using real Letterboxd URLs
README.md Updates documentation to reflect that filmography URLs are now supported with usage examples

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ryanpag3
ryanpag3 merged commit ba58751 into main Nov 12, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants