We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d1218c commit c95f5bbCopy full SHA for c95f5bb
1 file changed
api/index.py
@@ -9,7 +9,7 @@ def list_split(items, n):
9
def getdata(name):
10
gitpage = requests.get("https://github.com/" + name)
11
data = gitpage.text
12
- datadatereg = re.compile(r'data-date="(.*?)" data-level')
+ datadatereg = re.compile(r'data-date="(.*?)" id="contribution-day-component')
13
datacountreg = re.compile(r'<span class="sr-only">(.*?) contribution')
14
datadate = datadatereg.findall(data)
15
datacount = datacountreg.findall(data)
0 commit comments