From 0065bbfcace4e271e0a0789878a9680e3bf40e1d Mon Sep 17 00:00:00 2001 From: Bibek Dhungana Date: Wed, 13 Nov 2024 21:03:45 +0545 Subject: [PATCH] bugs fixed --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1639b5e..9caed7d 100644 --- a/main.py +++ b/main.py @@ -19,7 +19,7 @@ def scraper(): titles = [] files_link = [] - if(body): + if(not body): return titles_html = soup.find_all('h2', class_="entry-title")