From e2ed11a759c41622072295f397ded5599b1a4210 Mon Sep 17 00:00:00 2001 From: Nuhman Pk <62880706+bughunter0@users.noreply.github.com> Date: Fri, 10 Sep 2021 10:28:42 +0530 Subject: [PATCH] Delete YoutubeTags.py --- YoutubeTags/YoutubeTags.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 YoutubeTags/YoutubeTags.py 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 -