Recipes/Python requests
Python requests
A batch of videos, drained as each job finishes.
The code
Notes
For a large batch, poll /batches/:id for counts and only fetch the jobs it reports as finished, rather than asking after every job on every pass. Failures are logged and dropped from the set instead of retried, since most job errors will not succeed a second time.
Was this page useful?Tell us what was missing