Conversation
|
Why the need? Doesn't the Sora website just let you download from it already? |
Because Sora only allows downloads through a regular web browser. When accessed via a mobile app, the download button doesn’t work, so this PR enables video downloads in that scenario as well. It can also be used together with iOS Shortcuts for quick video downloads. |
- Use sora.chatgpt.com domain for all requests - Prioritize og:video meta tag extraction over script parsing - Simplify fallback regex patterns and remove complex script searching - Fix case-insensitive matching for HTML title tags - Reduce code complexity from ~50 to ~25 lines in extraction logic
- Add conditional check before HTML entity decoding to avoid unnecessary processing - Reorder entity replacement to process & last, preventing double-decoding - Add support for &imputnet#39; entity (alternative single quote encoding) - Prevent duplicate decoding by only applying fallback decoding when og:video wasn't used - Addresses CodeQL 'Double escaping or unescaping' high severity finding
Thanks for pointing that out! I've updated the implementation to use the |
|
I've implemented the service onto my own instance however you didn't add any tests, and Sora is Cloudflare protected, so I also needed to implement FlareSolverr. |
Added support for downloading videos from Sora (sora.com)
test:
https://sora.chatgpt.com/p/s_68deacf22a84819192c0c8f05a30ae01