|
@@ -15,7 +15,8 @@ import string
|
|
|
import requests
|
|
|
from bs4 import BeautifulSoup
|
|
|
import zipfile
|
|
|
-
|
|
|
+import csv
|
|
|
+from datetime import datetime
|
|
|
def cKey(r,g,b,fuzz):
|
|
|
col=openshot.Color()
|
|
|
col.red=openshot.Keyframe(r)
|
|
@@ -200,7 +201,7 @@ def text_to_short_vedio_create(read_csv_use="導盲犬協會.csv",pwd_use="導
|
|
|
|
|
|
fname=mp3_to_anchor("input_self/tmp1/%s.mp4"%('anchor_music'+str(i)))
|
|
|
# print(fname)
|
|
|
- time.sleep(180)
|
|
|
+ time.sleep(300)
|
|
|
while True:
|
|
|
result = download_mp4(fname,str(i))
|
|
|
if result:
|