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

Global variable overwritten in DownloadVideo #106

Open
alexflint opened this issue Aug 10, 2023 · 1 comment
Open

Global variable overwritten in DownloadVideo #106

alexflint opened this issue Aug 10, 2023 · 1 comment

Comments

@alexflint
Copy link

In YoutubeDownload, the global variable Filename is overwritten, making it difficult to import and use these functions in external packages:

Filename = "./tmp-video"

My use case is that I'm trying to make use of the AssemblyAI API, and I am re-using some of your functions in my own go program.

@fcastillo90
Copy link
Contributor

Hey @alexflint! Thanks for pointing this out. Would changing the filename to a dynamic UUID address this issue?

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

No branches or pull requests

2 participants