Skip to content

Instantly share code, notes, and snippets.

View Sciguymjm's full-sized avatar

Matthew Mage Sciguymjm

View GitHub Profile
==> 04117efb-4a81-4109-9643-765a7d40b941.replay.txt <==
File "/home/postgres/venv3.6/lib/python3.6/site-packages/carball/json_parser/game.py", line 93, in initialize
self.all_data = self.parse_replay()
File "/home/postgres/venv3.6/lib/python3.6/site-packages/carball/json_parser/game.py", line 335, in parse_replay
REPLICATED_RB_STATE_KEY]['Sleeping'] = True
KeyError: 'TAGame.RBActor_TA:ReplicatedRBState'
==> 04b213ba-6f00-4589-a269-e74f27f41c73.replay.txt <==
File "/home/postgres/venv3.6/lib/python3.6/site-packages/carball/decompile_replays.py", line 67, in analyze_replay_file
game.initialize(loaded_json=_json)
import requests
import time
def main():
url = "http://www.francescoparrinomusic.com/?ddownload="
for x in range(200, 5000):
r = requests.get(url + str(x))
if "download" not in r.text:
with open(str(x)+'.pdf', 'wb') as f:
f.write(r.content)