From dd55512e737d4f6c3ef472ef45d2a4e517d09b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hayashizaki=20Masayuki=20/=20=E6=9E=97=E5=B4=8E=E5=84=AA?= =?UTF-8?q?=E4=B9=8B?= Date: Thu, 8 Dec 2022 14:59:04 +0900 Subject: [PATCH] [Update] fetch Description from latest html of github trending --- trending.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trending.py b/trending.py index d7d081c..4ece2cd 100644 --- a/trending.py +++ b/trending.py @@ -151,7 +151,7 @@ def parse(self): repo_organization, repo_name = item.find("h1", class_="h3 lh-condensed").text.strip(' \t\n\r').split("/") repository = "{}/{}".format(repo_organization.strip(), repo_name.strip()) - repo_desc_info = item.find("p", class_="col-9 color-text-secondary my-1 pr-4") + repo_desc_info = item.find("p", class_="col-9 color-fg-muted my-1 pr-4") language_info = item.find("span", itemprop="programmingLanguage") stars_info = item.find("a", class_="Link--muted d-inline-block mr-3")