Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite gpo_member_photos.py to use Pictorial API #223

Merged
merged 7 commits into from
Jan 3, 2025

Conversation

kevinschaul
Copy link
Contributor

  • I'm acknowledging that my submission is free of all known copyright in at least
    the United States.
    (In general, works of the federal government should satisfy
    this criteria.)

Fixes #221

Still need to fix some missing bioguide ids for 36 legislators, but it's
a start.

See unitedstates#221
Pictorial IDs are in unitedstates/congress-legislators since this PR:
unitedstates/congress-legislators#943

Now that we have Pictorial IDs, we can use the Pictorial API to download
those images directly rather than scraping.

Fixes unitedstates#221
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Thanks for this!

Would you be interested in joining this project as maintainer? I've not really had time to look after this repo lately, plus I don't live in the US or use this data any more :)

I don't actually have the rights to give merge rights out, but we can find someone!

@hugovk hugovk merged commit 5e7a9c1 into unitedstates:gh-pages Jan 3, 2025
7 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.

Empty list when running gpo_member_photos.py script
2 participants