diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-03 08:22:14 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-03 08:22:14 +0200 |
commit | 401478b6698d82eb9ff054c1d544e9d6fd72323b (patch) | |
tree | 74a8d8e19e1e32324d9aa31a28a1567cb0da57ba | |
parent | Using lxml parser instead of html.parser, fixes #4. (diff) | |
download | newspipe-401478b6698d82eb9ff054c1d544e9d6fd72323b.tar.gz newspipe-401478b6698d82eb9ff054c1d544e9d6fd72323b.tar.bz2 newspipe-401478b6698d82eb9ff054c1d544e9d6fd72323b.zip |
Updated requirements.txt.
-rwxr-xr-x | pyaggr3g470r/utils.py | 4 | ||||
-rw-r--r-- | requirements.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pyaggr3g470r/utils.py b/pyaggr3g470r/utils.py index 88a3904a..2ed828f6 100755 --- a/pyaggr3g470r/utils.py +++ b/pyaggr3g470r/utils.py @@ -40,7 +40,7 @@ import opml import operator from urllib import urlencode from urlparse import urlparse, parse_qs, urlunparse -from BeautifulSoup import BeautifulSoup +from bs4 import BeautifulSoup from collections import Counter from contextlib import contextmanager @@ -257,4 +257,4 @@ def search_feed(url): if __name__ == "__main__": import_opml("root@pyAggr3g470r.localhost", "./var/feeds_test.opml") - #import_opml("root@pyAggr3g470r.localhost", "./var/pyAggr3g470r.opml")
\ No newline at end of file + #import_opml("root@pyAggr3g470r.localhost", "./var/pyAggr3g470r.opml") diff --git a/requirements.txt b/requirements.txt index f843318c..8a4ab9dc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ feedparser opml requests -BeautifulSoup +beautifulsoup4 lxml SQLAlchemy psycopg2 |