lbryio / ytsync

An overly complex tool to mirror youtube content to LBRY
https://lbry.com/youtube
MIT License
42 stars 17 forks source link

upgrade to python3 latest ytdl on all servers #96

Closed tzarebczan closed 3 years ago

tzarebczan commented 3 years ago

Some may have python2 version which fails on some videos.

Also, noticed this new error which we need to see if it's been fixed on latest version: RRO[0483] Skipping video (gJJEVXctsns): *exec.ExitError youtube-dlc youtube-dlc --skip-download --print-json https://www.youtube.com/watch?v=gJJEVXctsns --cookies cookies.txt --source-address 2604:6800:233:940:: [[20842] Failed to execute script __main__ Traceback (most recent call last): File "youtube_dlc/__main__.py", line 19, in <module> File "youtube_dlc/__init__.py", line 487, in main File "youtube_dlc/__init__.py", line 477, in _real_main File "youtube_dlc/YoutubeDL.py", line 2104, in download File "youtube_dlc/YoutubeDL.py", line 830, in extract_info File "youtube_dlc/extractor/common.py", line 532, in extract File "youtube_dlc/extractor/youtube.py", line 1817, in _real_extract File "/usr/lib/python3.6/re.py", line 182, in search return _compile(pattern, flags).search(string) TypeError: expected string or bytes-like object ]: exit status 255

tzarebczan commented 3 years ago

Another: ERRO[233758] Skipping video (LJMA61tAXAo): *exec.ExitError youtube-dlc youtube-dlc --skip-download --print-json https://www.youtube.com/watch?v=LJMA61tAXAo --cookies cookies.txt --source-address 208.95.0.104 [WARNING: Unable to extract video title ERROR: no conn, hlsvp, hlsManifestUrl or url_encoded_fmt_stream_map information found in video info; please report this issue on https://github.com/blackjack4494/yt-dlc . Make sure you are using the latest version; type youtube-dlc -U to update. Be sure to call youtube-dlc with the --verbose flag and include its complete output. ]: exit status 1 /home/travis/gopath/pkg/mod/github.com/lbryio/lbry.go/v2@v2.6.1-0.20200901175808-73382bb02128/extras/errors/errors.go:82 (0x71be93) /home/travis/gopath/src/github.com/lbryio/ytsync/downloader/downloader.go:338 (0xff72ba) /home/travis/gopath/src/github.com/lbryio/ytsync/downloader/downloader.go:273 (0xff6632) /home/travis/gopath/src/github.com/lbryio/ytsync/downloader/downloader.go:47 (0xff41ad) /home/travis/gopath/src/github.com/lbryio/ytsync/ytapi/ytapi.go:231 (0x1010ab8) /home/travis/gopath/src/github.com/lbryio/ytsync/ytapi/ytapi.go:98 (0x100f3ca) /home/travis/gopath/src/github.com/lbryio/ytsync/manager/ytsync.go:897 (0x102424c) /home/travis/gopath/src/github.com/lbryio/ytsync/manager/ytsync.go:721 (0x102276b) /home/travis/gopath/src/github.com/lbryio/ytsync/manager/ytsync.go:179 (0x101cd0d) /home/travis/gopath/src/github.com/lbryio/ytsync/manager/manager.go:126 (0x10118cd) /home/travis/gopath/src/github.com/lbryio/ytsync/main.go:167 (0x1028c26) /home/travis/gopath/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830 (0x978b2d) /home/travis/gopath/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 (0x97972b) /home/travis/gopath/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864 (0x10285fc) /home/travis/gopath/src/github.com/lbryio/ytsync/main.go:65 (0x1028607) /home/travis/.gimme/versions/go1.14.4.linux.amd64/src/runtime/proc.go:203 (0x43612a) /home/travis/.gimme/versions/go1.14.4.linux.amd64/src/runtime/asm_amd64.s:1373 (0x463b21) DEBU[233758] slack: ytsync-status: :sos: Skipping video (LJMA61tAXAo): *exec.ExitError youtube-dlc youtube-dlc --skip-download --print-json https://www.youtube.com/watch?v=LJMA61tAXAo --cookies cookies.txt --source-address 208.95.0.104 [WARNING: Unable to extract video title

tzarebczan commented 3 years ago

this was done