Follow along with the video below to see how to install our site as a web app on your home screen.
Notă: This feature may not be available in some browsers.
\main.py:65: DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True.
reddit.subreddit(redditsub).submit_video(title=title, video_path=mediapath, nsfw=True if mediansfw else False, videogif=False, thumbnail_path="thumb.png")
Stai linistit, cand poti si ai timp o faci si pe aceea.stiu ca nu are ultima functie dorita dar voiam sa rezolv chestia cu deprecated si thumbnail
subprocess.call('ffmpeg -ss 00:00:02 -i ' + mediapath + ' -vframes 1 -q:v 2 thumb.png -y')
Sunt la servici acuma si nu pot testa dar sterge video acuma dupa postare?
Am schimbat. Merge super ... Posteaza si sterge video dupa e Perfectdaca este updatat fisierul da; nu se updateaza singur si nici nu vreau asta deoarece poate unii vor sa foloseasca versiuni vechi
Sa stii ca e mai ok separat.ma gandesc sa mut variabilele de aici intr-un fisier separat pentru a fi mai usor de updatat
Rulez toti pasii, imi arata ca trebuie sa posteze X link si apoi se inchide automat si foarte repede.mie imi mergea, dar acum am eliminat ce cred eu ca era sursa problemei