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

Use "export" as file path for ffmpeg for web #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

StayBlue
Copy link
Contributor

@StayBlue StayBlue commented Dec 7, 2022

This fixes an issue where the script would attempt to parse the web URL as a file path when attempting to grab the subtitles with FFmpeg.

This PR fixes said issue by checking if the URL begins with HTTP and using "export" as the name of the subtitle file instead of the video file name if that's the case.

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.

1 participant