Skip to content

Add Trademark Trial and Appeal Board scraper#1851

Merged
grossir merged 12 commits intofreelawproject:mainfrom
anseljh:master
Mar 25, 2026
Merged

Add Trademark Trial and Appeal Board scraper#1851
grossir merged 12 commits intofreelawproject:mainfrom
anseljh:master

Conversation

@anseljh
Copy link
Copy Markdown
Member

@anseljh anseljh commented Mar 15, 2026

Adds a new scraper for the Trademark Trial and Appeal Board (TTAB) Reading Room at ttab-reading-room.uspto.gov. Scrapes precedential opinions (precedentCitableIndicator=Y) via the JSON API, with support for backscraping by date range. Includes test fixture and compare file.

CourtID: ttab
First opinion date: 1986-12-23 (the TTAB goes back earlier; that is the date of the earliest opinion in the TTAB Reading Room online system)

See freelawproject/foresight#4

anseljh and others added 2 commits March 15, 2026 02:35
Adds a new scraper for the Trademark Trial and Appeal Board (TTAB)
Reading Room at ttab-reading-room.uspto.gov. Scrapes precedential
opinions (precedentCitableIndicator=Y) via the JSON API, with support
for backscraping by date range. Includes test fixture and compare file.

CourtID: ttab
First opinion date: 1986-12-23

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Copy link
Copy Markdown
Contributor

@grossir grossir left a comment

Choose a reason for hiding this comment

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

@anseljh this is working. I just left some comments on

  • data (should we collect the author? is it even the author?)
  • code (standards that we use for scrapers)

If you want me to take over the code changes, I can do it, let me know

@grossir grossir moved this to PRs to improve in Sprint (Case Law) Mar 16, 2026
@anseljh
Copy link
Copy Markdown
Member Author

anseljh commented Mar 16, 2026

Amazing, thanks for the great review @grossir! I know this isn't really on your roadmap, so please treat it with low priority and leave the next improvements to me. :)

@anseljh
Copy link
Copy Markdown
Member Author

anseljh commented Mar 17, 2026

Back to you @grossir (but again, super low priority)

@anseljh anseljh requested a review from grossir March 17, 2026 05:15
Copy link
Copy Markdown
Contributor

@grossir grossir left a comment

Choose a reason for hiding this comment

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

I added a comment on the difference between "author" and "judge" on the previous review

Copy link
Copy Markdown
Contributor

@grossir grossir left a comment

Choose a reason for hiding this comment

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

Sorry, some small changes are needed from the recent async merge!

But after those, both the scraper and the backscraper are working as expected, and this will be ready to merge.

To deploy this scraper I will need the courts ready, too freelawproject/courts-db#126

@anseljh
Copy link
Copy Markdown
Member Author

anseljh commented Mar 24, 2026

Hi @grossir, I made your suggested async updates. The failing tests look like they're PACER stuff, so unrelated to my code. Over to you.

@anseljh anseljh removed their assignment Mar 24, 2026
Copy link
Copy Markdown
Contributor

@grossir grossir left a comment

Choose a reason for hiding this comment

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

Looks good! I will deploy this and track the backscrape in another issue

@grossir grossir merged commit d9be2d2 into freelawproject:main Mar 25, 2026
11 of 14 checks passed
@github-project-automation github-project-automation bot moved this from PRs to improve to Done in Sprint (Case Law) Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants