I forgot what I chanagerd
This commit is contained in:
1 parent
24081e1576
commit
c4f5018833
20 files changed
+678
-77
No files matched your search
@@ -4,7 +4,7 @@ import os
|
||||
import package.utils as linux
|
||||
import time
|
||||
|
||||
from package.database import Database
|
||||
from package.database import Repository
|
||||
|
||||
import package.youtube.uploader as uploader
|
||||
from package.youtube.uploader import CategoryId
|
||||
@@ -319,7 +319,7 @@ def get_vod_ids_simplified(channel_name: str):
|
||||
if __name__ == "__main__":
|
||||
tables = ["clips"]
|
||||
for table in tables:
|
||||
DB = Database(table)
|
||||
DB = Repository(table)
|
||||
|
||||
get_vod_ids_simplified(CHANNEL_NAME)
|
||||
#download()
|
||||
|
||||
@@ -3,13 +3,13 @@ import requests
|
||||
import subprocess
|
||||
from datetime import datetime
|
||||
|
||||
from package.database import Database
|
||||
from package.database import Repository
|
||||
|
||||
import package.youtube.uploader as uploader
|
||||
from package.youtube.uploader import CategoryId
|
||||
|
||||
CHANNEL_NAME = 'teampgp' # Replace with the streamer's username
|
||||
DB = Database("clips")
|
||||
DB = Repository("clips")
|
||||
|
||||
def run_linux_command(command: str):
|
||||
"""Executes a Linux command, waits for completion, and returns output."""
|
||||
|
||||
Reference in new issue
Block a user