mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 11:38:36 -07:00
Remove feedparser
This commit is contained in:
parent
82c09570c4
commit
68a06d1bbc
2 changed files with 0 additions and 4018 deletions
4006
lib/feedparser.py
4006
lib/feedparser.py
File diff suppressed because it is too large
Load diff
|
@ -22,7 +22,6 @@ from future.builtins import str
|
|||
from bs4 import BeautifulSoup
|
||||
from xml.dom import minidom
|
||||
|
||||
import feedparser
|
||||
import collections
|
||||
import requests
|
||||
|
||||
|
@ -276,17 +275,6 @@ def request_content(url, **kwargs):
|
|||
return response.content
|
||||
|
||||
|
||||
def request_feed(url, **kwargs):
|
||||
"""
|
||||
Wrapper for `request_response', which will return a feed object.
|
||||
"""
|
||||
|
||||
response = request_response(url, **kwargs)
|
||||
|
||||
if response is not None:
|
||||
return feedparser.parse(response.content)
|
||||
|
||||
|
||||
def server_message(response, return_msg=False):
|
||||
"""
|
||||
Extract server message from response and log in to logger with DEBUG level.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue