From bf4c686f610a2f8ee72273e02fd31fcff1a10167 Mon Sep 17 00:00:00 2001 From: Mircea Filip Lungu Date: Sat, 27 Apr 2024 06:39:01 +0200 Subject: [PATCH] Update article_downloader.py --- zeeguu/core/content_retriever/article_downloader.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/zeeguu/core/content_retriever/article_downloader.py b/zeeguu/core/content_retriever/article_downloader.py index 88c5a498..e6bda166 100644 --- a/zeeguu/core/content_retriever/article_downloader.py +++ b/zeeguu/core/content_retriever/article_downloader.py @@ -117,11 +117,8 @@ def download_from_feed(feed: Feed, session, limit=1000, save_in_elastic=True): ) try: - logp("before redirects") - logp(feed_item["url"]) + url = _url_after_redirects(feed_item["url"]) - logp("===============================> ") - logp("after redirects") logp(url) except requests.exceptions.TooManyRedirects: