working jsonp but with no invalid username warning
This commit is contained in:
@@ -33,3 +33,4 @@ function makeRequest() {
|
||||
|
||||
// https://api.chess.com/pub/player/hippodrunkimus/games/2023/03 (can't use .pgn)
|
||||
//https://api.chess.com/pub/player/${username}/games/archives?callback=jsonpCallback&user_agent=${encodeURIComponent(randomUserAgent)}`
|
||||
//Good. Now, the archive_list contains an archives property and each element in the archives array corresponds to a URL. I need make asynchronous requests with those URLs in the same manner as the initial request, namely using random user agents and implementing jsonp again. The response from each of these URL requests will be an object of the form { "games" : [{"pgn": "chess game 1 in pgn notation"}, {"pgn":"chess game 2 in pgn notation"}, ...]
|
||||
|
Reference in New Issue
Block a user