Skip to content

Add URL and GitHub config support to multi - #215

Open
sainimal1ba-hue wants to merge 1 commit into
simonw:mainfrom
sainimal1ba-hue:feat-multi-remote-config-174
Open

sainimal1ba-hue wants to merge 1 commit into
simonw:mainfrom
sainimal1ba-hue:feat-multi-remote-config-174

Conversation

@sainimal1ba-hue

@sainimal1ba-hue sainimal1ba-hue commented Nov 3, 2026 •

Copy link
Copy Markdown

Closes #174

Summary

Allow shot-scraper multi to load YAML configurations from HTTP(S) URLs and GitHub repositories, in addition to local files and standard input.

Changes

  • Add support for loading YAML configurations from HTTP(S) URLs.
  • Support the gh: shorthand for GitHub-hosted configurations:
    • gh:username/repository/shots.yml
    • gh:username/shots.yml (uses shot-scraper-scripts).
  • Preserve existing local file and stdin (-) behavior.
  • Provide descriptive error messages for invalid GitHub paths and failed downloads.
  • Update the documentation with usage examples and a security warning about executing commands from remote configurations.
  • Add regression tests for remote loading, GitHub shorthand, invalid paths, and network failures.

Testing

  • Full test suite: 193 passed, 0 failed.
  • 6 new regression tests passed.
  • git diff --check passed.
  • Existing deprecation warnings remain unchanged.

AI Assistance

This implementation was developed with assistance from Claude. I reviewed the changes and ran the project's test suite locally.


📚 Documentation preview 📚: https://shot-scraper--215.org.readthedocs.build/en/215/

This branch has not been deployed

No deployments
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.

-i/--input should take a URL

1 participant