mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
Ignore spurious warning from BeautifulSoup
This commit is contained in:
parent
90a89c47e2
commit
fcdc5afbf4
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@ import math
|
|||
from urllib.parse import urlparse, parse_qs, urlencode
|
||||
from functools import wraps
|
||||
import flask
|
||||
from bs4 import BeautifulSoup, NavigableString
|
||||
from bs4 import BeautifulSoup, NavigableString, MarkupResemblesLocatorWarning
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore", category=MarkupResemblesLocatorWarning)
|
||||
import requests
|
||||
import os
|
||||
from flask import current_app, json, redirect, url_for, request, make_response, Response, g
|
||||
|
|
Loading…
Reference in a new issue