update to the process_uploads upload.py and new database table called data
This commit is contained in:
1 parent
afe6490d20
commit
2773200a94
17 files changed
+245
-70
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
import requests
|
||||
import os
|
||||
import package.linux as linux
|
||||
import package.utils as linux
|
||||
import time
|
||||
|
||||
from package.database import Database
|
||||
@@ -9,7 +9,7 @@ from package.database import Database
|
||||
import package.youtube.uploader as uploader
|
||||
from package.youtube.uploader import CategoryId
|
||||
|
||||
import package.youtube.hashtags as hashtags
|
||||
import package.hash_tags as hash_tags
|
||||
import package.transcribe_video as transcribe_video
|
||||
|
||||
CHANNEL_NAME = 'teampgp' # Replace with the streamer's username
|
||||
@@ -43,7 +43,7 @@ def top_hashtags(id: str):
|
||||
print(f"Transcribe file not found {file_srt}")
|
||||
return []
|
||||
|
||||
tags = hashtags.get_top_hashtags(file_srt)
|
||||
tags = hash_tags.get_top_hashtags(file_srt)
|
||||
return tags
|
||||
|
||||
def download():
|
||||
|
||||
Reference in new issue
Block a user