moved youtube scirpts into there own folder
This commit is contained in:
1 parent
8bf85fea2e
commit
afe6490d20
15 files changed
+127
-102
No files matched your search
@@ -80,7 +80,7 @@ def save_image(url: str, filename: str, stream: bool = True):
|
||||
except Exception as e:
|
||||
print(f"❌ An error occurred during file writing: {e}")
|
||||
|
||||
async def main():
|
||||
async def download_thumbnails():
|
||||
# Initialize connection & automatically authorize the App token
|
||||
await config.get_twitch()
|
||||
twitch = config.TWITCH # Twitch(APP_ID, APP_SECRET)
|
||||
@@ -141,4 +141,4 @@ async def main():
|
||||
await download_clip_thumbnail(id, thumbnail_url)
|
||||
|
||||
if __name__ == '__main__':
|
||||
asyncio.run(main())
|
||||
asyncio.run(download_thumbnails())
|
||||
Reference in new issue
Block a user