YouTube script stopped working.
I am not sure if anyone here knows about Youtube scripting but the part of this script that might not be working is the this part
Code:
sed "s/.*\?v=\([^\"]*\)\".*/\1/g") Has there been a change that I missed. The code I use is below. Code:
#!/bin/bash |
Quote:
Alternatively, throw that brittle buggy code away and use a tool which is continually maintained, like yt-dlp: Code:
yt-dlp --skip-download --get-id --playlist-end=1 "$CHANNEL_URL" |
Quote:
I tried to get this command to run but could not. This is what I did from command line. Code:
Code:
Traceback (most recent call last): Code:
|
Quote:
Code:
<link rel="alternate" href="https://www.youtube.com/watch?v=77huZZ415vg"/> Code:
sed "s/.*\?v=\([^"]*\)".*/\1/g I am a 74 year old fart and the brain cells aren't what they used to be. |
This is a YouTube Problem
I ran the script today and it works again. If there is a better way to get the videoid than the "sed" command I would like to try it.
|
Quote:
Turns out LLM's can do this now: Quote:
|
All times are GMT -5. The time now is 05:02 PM. |