Skip to content

Commit

Permalink
Resolves Auth issues with the coin market cap API by adding UserAgent,
Browse files Browse the repository at this point in the history
…fixes #8
  • Loading branch information
pbojan committed Sep 5, 2021
1 parent 2c56de3 commit b922764
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pbojan/@Resources/CryptoCoins.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ DynamicVariables=1
Measure=WebParser
;URL=file://#CURRENTPATH#WebParserDump.txt
;Debug=2
UserAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
Header=X-CMC_PRO_API_KEY: #ApiKey#
RegExp=(?siU)name":"(.*)".*"symbol":"(.*)".*"cmc_rank":(.*),.*"price":(.*),.*"percent_change_1h":(.*),.*"percent_change_24h":(.*),.*"percent_change_7d":(.*),.*"last_updated":"(.*)\..*Z"}
UpdateRate=#UpdateTime#
Expand Down

2 comments on commit b922764

@electricsheep86
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for fixing this within a few days of the issue arising. I assumed it was an issue with Coinmarketcap's most recent DDoS attack.

@BNeutral
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh, thanks a lot for the fix!

Please sign in to comment.