From 0172d5b70ea1428eac763b2acafee6d01a47dbef Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Thu, 31 Dec 2020 19:05:41 -0800 Subject: [PATCH] Add feedparser as a dependency --- poetry.lock | 30 ++++++++++++++++++++++++++++-- pyproject.toml | 3 ++- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 72cc7b5..f198234 100644 --- a/poetry.lock +++ b/poetry.lock @@ -37,6 +37,17 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +[[package]] +name = "feedparser" +version = "6.0.2" +description = "Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds" +category = "main" +optional = true +python-versions = ">=3.6" + +[package.dependencies] +sgmllib3k = "*" + [[package]] name = "flask" version = "1.1.2" @@ -162,6 +173,14 @@ urllib3 = ">=1.21.1,<1.27" security = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)"] socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"] +[[package]] +name = "sgmllib3k" +version = "1.0.0" +description = "Py3k port of sgmllib." +category = "main" +optional = true +python-versions = "*" + [[package]] name = "six" version = "1.15.0" @@ -231,12 +250,12 @@ dev = ["pytest", "pytest-timeout", "coverage", "tox", "sphinx", "pallets-sphinx- watchdog = ["watchdog"] [extras] -dev = ["praw", "gunicorn"] +dev = ["praw", "gunicorn", "feedparser"] [metadata] lock-version = "1.1" python-versions = "^3.6" -content-hash = "1580c74eeebc065ebed36357b39a0b1b9f490930e22978085a30ce2fe1c9e301" +content-hash = "ec7153f57c8a673beea43275b70aa09c54d877e261cbc4d353deee67ae26283e" [metadata.files] beautifulsoup4 = [ @@ -256,6 +275,10 @@ click = [ {file = "click-7.1.2-py2.py3-none-any.whl", hash = "sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc"}, {file = "click-7.1.2.tar.gz", hash = "sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"}, ] +feedparser = [ + {file = "feedparser-6.0.2-py3-none-any.whl", hash = "sha256:f596c4b34fb3e2dc7e6ac3a8191603841e8d5d267210064e94d4238737452ddd"}, + {file = "feedparser-6.0.2.tar.gz", hash = "sha256:1b00a105425f492f3954fd346e5b524ca9cef3a4bbf95b8809470e9857aa1074"}, +] flask = [ {file = "Flask-1.1.2-py2.py3-none-any.whl", hash = "sha256:8a4fdd8936eba2512e9c85df320a37e694c93945b33ef33c89946a340a238557"}, {file = "Flask-1.1.2.tar.gz", hash = "sha256:4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060"}, @@ -323,6 +346,9 @@ requests = [ {file = "requests-2.25.1-py2.py3-none-any.whl", hash = "sha256:c210084e36a42ae6b9219e00e48287def368a26d03a048ddad7bfee44f75871e"}, {file = "requests-2.25.1.tar.gz", hash = "sha256:27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804"}, ] +sgmllib3k = [ + {file = "sgmllib3k-1.0.0.tar.gz", hash = "sha256:7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9"}, +] six = [ {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"}, {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"}, diff --git a/pyproject.toml b/pyproject.toml index d3583d9..788db72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,9 +13,10 @@ requests = "^2.25.1" beautifulsoup4 = "^4.9.3" praw = {version = "^7.1.0", optional = true} gunicorn = {version = "^20.0.4", optional = true} +feedparser = {version = "^6.0.2", optional = true} [tool.poetry.extras] -dev = ["praw", "gunicorn"] +dev = ["praw", "gunicorn", "feedparser"] [tool.poetry.scripts] inquisitor = "inquisitor.cli:main"