Troubles with github hosted bot
From Talk:RoboRumble
Jump to navigation
Jump to search
Revision as of 19 August 2017 at 14:52.
The highlighted comment was created in this revision.
The highlighted comment was created in this revision.
Hi mates,
Did anyone noticed problems with rumble clients downloading github hosted bots? For example
https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar
I can download this bot via browser or wget, but the rumble client is failing on it. I get the following error
Could not connect to https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar Could not download pbg.NinjaX_1.2.jar
I find the problem. Looks like github changed the raw download url. Now we have to add to the file name the following suffix
?raw=true
I.e. old github jar urls need to be converted from something like
https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar
to
https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar?raw=true