gharchive.org
gharchive.org copied to clipboard
Json format err & Wegt(up to date) 404 not found
1. Json format err
raw date: wget https://data.gharchive.org/2021-09-11-9.json.gz
error tip:invalid character 'i' after object key:value pair , when i unmarshal it line by line
incorrect from raw data line:42321 ⬇️
{"id":"17943409164","type":"PushEvent","actor":{"id":78184933,"login":"baogaopro","display_login":"baogaopro","gravatar_id":"","url":"https://api.github.com/users/baogaopro","avatar_url":"https://avatars.githubusercontent.com/u/78184933?"},"repo":{"id":404908431,"name":"baogaopro/images13","url":"https://api.github.com/repos/baogaopro/images13"},"payload":{"push_id":7912426903,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"f5cf22c7fa765a496adfdb3c99bb44a20cbaa182","before":"d7caefec4e2f72c2caa7453cbb15d399a5388991","commits":[{"sha":"f5cf22c7fa765a496adfdb3c99bb44a20cbaa182","author":{"name":"artwlcn","email":"[email protected]"},"message":"add pdf 29565 images from script auto","distinct":true,"url":"https://api.github.com/repos/baogaopro/images13/commits/f5cf22c7{"id":"17943437340","type":"PushEvent","actor":{"id":83385569,"login":"SanjayKarmaDevelopers","display_login":"SanjayKarmaDevelopers","gravatar_id":"","url":"https://api.github.com/users/SanjayKarmaDevelopers","avatar_url":"https://avatars.githubusercontent.com/u/83385569?"},"repo":{"id":390386604,"name":"SanjayKarmaDevelopers/HBD-SWATHI","url":"https://api.github.com/repos/SanjayKarmaDevelopers/HBD-SWATHI"},"payload":{"push_id":7912444439,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"c347be4e986a9c28e5895f90873d795c99997bb0","before":"fc1e32aaf8a4af26c3446be790469280fd4f91b2","commits":[{"sha":"c347be4e986a9c28e5895f90873d795c99997bb0","author":{"name":"SanjayKarmaDevelopers","email":"8cbd5a3eea3c2d5803975b34efdcbfc8ca33188a@users.noreply.github.com"},"message":"Update main.css","distinct":true,"url":"https://api.github.com/repos/SanjayKarmaDevelopers/HBD-SWATHI/commits/c347be4e986a9c28e5895f90873d795c99997bb0"}]},"public":true,"created_at":"2021-09-11T09:34:28Z"}
Comparing another 'PushEvent' event, this json incorrect format...
could you tell me the diffierent type events's mean
if the Administrator add a label to a issue ,which type event would be inform? @Ellioben
if the Administrator add a label to a issue ,which type event would be inform? @Ellioben
i m sorry, i update this question to discript this err.
only Json format bug of history data