aboutsummaryrefslogtreecommitdiff
path: root/newspipe/crawler
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-10 22:34:46 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-10 22:34:46 +0100
commit35c31d0a7de63ee8387823035be398f6d975b0e5 (patch)
tree38953b899050a294edeceddbcb903a93f8a9e6d7 /newspipe/crawler
parentcleaned imports (diff)
downloadnewspipe-35c31d0a7de63ee8387823035be398f6d975b0e5.tar.gz
newspipe-35c31d0a7de63ee8387823035be398f6d975b0e5.tar.bz2
newspipe-35c31d0a7de63ee8387823035be398f6d975b0e5.zip
removed unused imports
Diffstat (limited to 'newspipe/crawler')
-rw-r--r--newspipe/crawler/default_crawler.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/newspipe/crawler/default_crawler.py b/newspipe/crawler/default_crawler.py
index 8408a845..a0b5566a 100644
--- a/newspipe/crawler/default_crawler.py
+++ b/newspipe/crawler/default_crawler.py
@@ -33,9 +33,8 @@ from datetime import datetime, timedelta
import dateutil.parser
import feedparser
-from sqlalchemy import or_
-from newspipe.bootstrap import application, db
+from newspipe.bootstrap import application
from newspipe.controllers import ArticleController, FeedController
from newspipe.lib.article_utils import (
construct_article,
@@ -44,7 +43,6 @@ from newspipe.lib.article_utils import (
)
from newspipe.lib.feed_utils import construct_feed_from, is_parsing_ok
from newspipe.lib.utils import newspipe_get
-from newspipe.models import User
logger = logging.getLogger(__name__)
bgstack15