This commit is contained in:
Aevann1 2022-02-21 01:57:31 +02:00
parent f29b8dda60
commit 1635551246
2 changed files with 2 additions and 1 deletions

View file

@ -1510,7 +1510,7 @@ def get_post_title(v):
try: x = requests.get(url, headers=titleheaders, timeout=5)
except: abort(400)
soup = BeautifulSoup(x.content, 'html.parser')
soup = BeautifulSoup(x.content, 'xml')
title = soup.find('title')
if not title: abort(400)