File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1010class Crawler :
1111 base_url = 'https://www.hackerrank.com/'
1212 user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.63'
13- login_url = base_url + 'auth/login'
13+ login_url = base_url + 'rest/ auth/login'
1414 submissions_url = base_url + 'rest/contests/master/submissions/?offset={}&limit={}'
1515 challenge_url = base_url + 'rest/contests/master/challenges/{}/submissions/{}'
1616 domain_url = base_url + 'domains/{}'
@@ -235,5 +235,6 @@ def main():
235235 models = data ['models' ]
236236 crawler .get_submissions (models )
237237
238+
238239if __name__ == "__main__" :
239240 main ()
Original file line number Diff line number Diff line change 55
66setup (
77 name = 'hsc' ,
8- version = '1.2.4-alpha ' ,
8+ version = '1.2.5 ' ,
99 author = 'Nullifiers' ,
1010 author_email = 'nullifiersorg@gmail.com' ,
1111 description = 'Hackerrank Solution Crawler' ,
You can’t perform that action at this time.
0 commit comments