What is Nostr?
C.B.Leslie /
npub1veq…4yse
2024-11-27 14:03:49
in reply to nevent1q…hh7j

C.B.Leslie on Nostr: nprofile1q…pal3s I would skip using `wget`, and use `yt-dlp`. It was designed for ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpql3gpk6vrudg8r67swqlex5alv9ch59s4lw46kk6hekuxe2n3aczscpal3s (nprofile…al3s)

I would skip using `wget`, and use `yt-dlp`. It was designed for interacting with websites like YouTube, and parsing their data. You don't even have to download the video to get the data. Maybe something like so:

yt-dlp --skip-download --print "%(title)s" https://youtube.com/watch?v=YlAhRJjOhDg

If you have to use wget/curl, I would focus on looking at the "open graph" tags and get data about the page from there. They are often more reliable when it come to actual information about the page.
Author Public Key
npub1veqgq7gsd8zqllzcs6xysadp6zdtcjzh59je95j9xc7vmne9vvtqry4yse