Skip to content

Scraper inputs #4922

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

Merged
merged 3 commits into from
Jun 11, 2024
Merged

Scraper inputs #4922

merged 3 commits into from
Jun 11, 2024

Conversation

WithoutPants
Copy link
Collaborator

Adds the following fields to the gallery json input passed to script scrapers:

  • code
  • photographer
  • files

The files field is an array of objects with the following fields:

  • id
  • mod_time
  • path
  • size
  • fingerprints (array of { type, value })

Adds the following fields to the scene json input passed to script scrapers:

  • code
  • director
  • files

The files field is an array of objects with the same fields as in the gallery input, with the following additional fields:

  • zip_file (optional object with file fields)
  • format
  • width
  • height
  • duration
  • video_codec
  • audio_codec
  • frame_rate
  • bitrate
  • interactive
  • interactive_speed

Folder information is deliberately omitted for now, as it requires a bit more work.

Resolves #1027
Resolves #1554

@WithoutPants WithoutPants added the improvement Something needed tweaking. label Jun 4, 2024
@WithoutPants WithoutPants added this to the Version 0.27.0 milestone Jun 4, 2024
@WithoutPants WithoutPants merged commit 94a978d into stashapp:develop Jun 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something needed tweaking.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Pass filename to scraper script [Feature] Add file path and other parameters in json sceneByFragment
1 participant