whmou / insta360-auto-converter

Automatically take insv(p) files from google drive and convert them to 360 mp4(jpg) and upload to google photos in docker
Creative Commons Zero v1.0 Universal
62 stars 16 forks source link

add youtube upload flow #6

Closed whmou closed 2 years ago

whmou commented 2 years ago
whmou commented 2 years ago

firefox geckodriver version in jameswilliams1/python-webdriver:3.8-slim-buster-all is:

root@2fb70848a0d8:/# which geckodriver /usr/local/bin/geckodriver root@2fb70848a0d8:/# /usr/local/bin/geckodriver --version geckodriver 0.29.0 (cf6956a5ec8e 2021-01-14 10:31 +0200)

whmou commented 2 years ago

python-webdriver:3.8-slim-buster-all:

root@2fb70848a0d8:/# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

whmou commented 2 years ago

switch to youtube data api v3, solution based on selenium is too unstable.

whmou commented 2 years ago

data api ref: https://developers.google.com/youtube/v3/docs/playlists/list?authuser=1