diff --git a/YoutubeTags/YoutubeTags.py b/YoutubeTags/YoutubeTags.py deleted file mode 100644 index 3899550..0000000 --- a/YoutubeTags/YoutubeTags.py +++ /dev/null @@ -1,17 +0,0 @@ -from bs4 import BeautifulSoup -import html5lib -import requests - -class Tags: - - def __init__(url): - - try: - request = requests.get(url) - soup = BeautifulSoup(request.content, 'html5lib') - tags = ', '.join([ meta.attrs.get("content") for meta in soup.find_all("meta",{"property": "og:video:tag"}) ]) - return tags - - except: - return -