Replies: 3 comments
-
Do you have a script that you can share? I just don't understand how you're getting the data from YouTube. Are you using a YouTube API or are you scraping YouTube? I'm just curious how you're getting the video. Because I don't think that using that DOM parser function would be necessary. |
Beta Was this translation helpful? Give feedback.
-
Sure! The purpose of the script is the following: starting from a Safari page where a YouTube video is shown, to generate an Obsidian note (a markdown file) containing some info about it. What I still have to do is to append Here's how my script looks like at the moment (without the year part):
The code I've found that retrieves the year using |
Beta Was this translation helpful? Give feedback.
-
And please: feel free to improve it! ;-) |
Beta Was this translation helpful? Give feedback.
-
Hi Kiters!
I'm trying to retrieve the publication date of a YouTube video, as a part of a script.
I've found some code that uses the
DOMParser()
function, but Kit says it doesn't recognise it.Not an expert here. A learner, instead.
Any idea (not necessarily related to DOMParser, for me the job done is enough ;-))?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions