herowinb / live-dl

Web GUI for Youtube-dl and Bash Script auto download/record upcoming live stream on Youtube and Twitch.
https://hub.docker.com/r/herowinb/live-dl
GNU Affero General Public License v3.0
29 stars 5 forks source link

ERROR: Unable to extract uploader id. #21

Closed timmyhbk closed 1 year ago

timmyhbk commented 1 year ago

Describe the bug Unable to download videos and live streams, either automatically or manually. Log show ERROR: Unable to extract uploader id.

To Reproduce

  1. Via auto.sh or script run nohup bash live-dl --debug -1 https://www.youtube.com/watch?v=3Fb7Qv36of4 &>/tmp/$(date +%Y%m%d-%H:%M)-tmp-live-dl.log &
  2. No downloads will be executed
    
    nohup: ignoring input
    live-dl: line 90: cd: live-dl: Not a directory
    jq: error (at <stdin>:1): Cannot index object with number
    date: invalid date ‘+%s’
    [Sat Feb 18 17:27:50 CST 2023] DEBUG: Live-dl is up to date
    [Sat Feb 18 17:27:50 CST 2023] URL (URI) to process           : https://www.youtube.com/watch?v=3Fb7Qv36of4
    [Sat Feb 18 17:27:50 CST 2023] Mode                           : download - Using YTARCHIVE 
    [Sat Feb 18 17:27:50 CST 2023] Output base dir                : /youtube-dl
    [Sat Feb 18 17:27:50 CST 2023] Separate folder for membership : true
    [Sat Feb 18 17:27:50 CST 2023] Remove Title                   : false
    [Sat Feb 18 17:27:50 CST 2023] Archive chat                   : false - Mode: simple
    [Sat Feb 18 17:27:50 CST 2023] Keyword filter                 : false
    [Sat Feb 18 17:27:50 CST 2023] Run interval (when loop)       : 30
    [Sat Feb 18 17:27:50 CST 2023] Long interval (when loop)      : 900
    [Sat Feb 18 17:27:50 CST 2023] Skip embedding metadata        : false
    [Sat Feb 18 17:27:50 CST 2023] Skip email notification        : true
    [Sat Feb 18 17:27:50 CST 2023] Skip Slack notification        : true
    [Sat Feb 18 17:27:50 CST 2023] Skip Telegram notification     : true
    [Sat Feb 18 17:27:50 CST 2023] Skip Discord notification      : false
    [Sat Feb 18 17:27:50 CST 2023] Callback                       : false
    [Sat Feb 18 17:27:50 CST 2023] Address Pool                   : false
    [Sat Feb 18 17:27:50 CST 2023] Email provider                 : ses
    [Sat Feb 18 17:27:50 CST 2023] One-time execution             : true
    [Sat Feb 18 17:27:50 CST 2023] No log mode                    : true
    [Sat Feb 18 17:27:50 CST 2023] YouTube URL detected
    [Sat Feb 18 17:27:50 CST 2023] YouTube video detected
    [Sat Feb 18 17:27:50 CST 2023] Checking https://www.youtube.com/watch?v=3Fb7Qv36of4...
    [Sat Feb 18 17:27:50 CST 2023] DEBUG: start func_check_state
    [Sat Feb 18 17:27:50 CST 2023] DEBUG: Cookies using: ./config/cookies.txt
    [Sat Feb 18 17:27:51 CST 2023] DEBUG: Got valid cURL metadata
    [Sat Feb 18 17:27:51 CST 2023] DEBUG: Is live: 
    [Sat Feb 18 17:27:51 CST 2023] DEBUG: Playability: OK
    [Sat Feb 18 17:27:51 CST 2023] DEBUG: Playability Reason: 
    [Sat Feb 18 17:27:52 CST 2023] DEBUG: Streamability ID: 
    [Sat Feb 18 17:27:52 CST 2023] DEBUG: Scheduled Start Time: 
    [Sat Feb 18 17:27:52 CST 2023] DEBUG: Channel: Vestia Zeta Ch. hololive-ID
    [Sat Feb 18 17:27:52 CST 2023] DEBUG: Title: 【Cover】ぎゅっと。(Gyutto) / Vestia Zeta 【Bossa Nova】
    [Sat Feb 18 17:27:52 CST 2023] DEBUG: Current state for first check: video
    [Sat Feb 18 17:27:52 CST 2023] Re-checking via youtube-dl...
    [Sat Feb 18 17:27:52 CST 2023] Get real video url: https://www.youtube.com/watch?v=3Fb7Qv36of4
    [Sat Feb 18 17:27:54 CST 2023] DEBUG: Got valid youtube-dl metadata
    [Sat Feb 18 17:27:54 CST 2023] DEBUG: ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
    [Sat Feb 18 17:27:54 CST 2023] Unknown metadata
    [Sat Feb 18 17:27:54 CST 2023] ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
    [Sat Feb 18 17:27:54 CST 2023] DEBUG: Current state for second check: invalid
    [Sat Feb 18 17:27:54 CST 2023] DEBUG: Found long interval setting 900
    [Sat Feb 18 17:27:54 CST 2023] DEBUG: Not valid at the moment, continue running
    [Sat Feb 18 17:27:54 CST 2023] DEBUG: Stream unavailable, retry in 900s...


**Desktop (please complete the following information):**
 - OS: Docker (Synology DSM)
 - Version: last updated
herowinb commented 1 year ago

Look like this bug from youtube-dl I think I should change it to yt-dlp

jim60105 commented 1 year ago

https://github.com/ytdl-org/youtube-dl/issues/31530 https://github.com/yt-dlp/yt-dlp/issues/6247

herowinb commented 1 year ago

It should be fixed now. Worked with Youtube Live, VOD, Video and Twitch live.