From 6f8c1cc871ce5fd09f4e8756c807762065b8c002 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Thu, 20 Jun 2024 09:31:44 +0530 Subject: [PATCH] Update wordpress-plugins-update.py --- .github/scripts/wordpress-plugins-update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/wordpress-plugins-update.py b/.github/scripts/wordpress-plugins-update.py index 4d57c1873b..da31e5e898 100644 --- a/.github/scripts/wordpress-plugins-update.py +++ b/.github/scripts/wordpress-plugins-update.py @@ -43,8 +43,8 @@ for page_number in range(1, 11): # Parse HTML soup = BeautifulSoup(html, 'html.parser') - results = soup.find(class_="plugin-cards") - articles = results.find_all("div", class_="plugin-card") + results = soup.find(id="main") + articles = results.find_all("article", class_="plugin-card") # Setting the top tag top_tag = "top-100,top-200" if page_number <= 5 else "top-200"