remotes/1693045480750635534/spooky-22
Aevann1 2022-02-21 01:57:31 +02:00
parent 1f46aeb66a
commit 554ada8d29
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) try: x = requests.get(url, headers=titleheaders, timeout=5)
except: abort(400) except: abort(400)
soup = BeautifulSoup(x.content, 'html.parser') soup = BeautifulSoup(x.content, 'xml')
title = soup.find('title') title = soup.find('title')
if not title: abort(400) if not title: abort(400)

View File

@ -8,6 +8,7 @@ Flask-Mail
gevent gevent
greenlet greenlet
gunicorn gunicorn
lxml
mistletoe mistletoe
matplotlib matplotlib
Pillow Pillow