From e8bc8e2941d701770cf7fb88bcfa4d7df07c1ddf Mon Sep 17 00:00:00 2001 From: Jing Ling Date: Fri, 14 Feb 2020 16:09:47 +0800 Subject: [PATCH] =?UTF-8?q?GitHub=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=8F=91=E7=94=9F=E4=BA=86=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/modules/search/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oneforall/modules/search/github.py b/oneforall/modules/search/github.py index e9ec554..ff4a8c1 100644 --- a/oneforall/modules/search/github.py +++ b/oneforall/modules/search/github.py @@ -67,7 +67,7 @@ class Github(Search): result = re.findall(pattern, resp.text) if not result: return None - return result[1] + return result[0] def search(self, full_search=False): """