Created
October 20, 2023 05:29
-
-
Save jarrodnorwell/d0186d75db075e8f483a0fe9c28614ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from re import search | |
from requests import get | |
print(search(r"views\":{\"simpleText\":\"(.*?)\"}", get(f"https://www.youtube.com/watch?v={input("Enter YouTube Video ID: ")}").text).group(1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment