Skip to content

Instantly share code, notes, and snippets.

@msikma
Created November 4, 2017 15:04
Show Gist options
  • Save msikma/fd353b5f309291d1f7b93c0a53acc9f0 to your computer and use it in GitHub Desktop.
Save msikma/fd353b5f309291d1f7b93c0a53acc9f0 to your computer and use it in GitHub Desktop.
# retrieves table data
# kakuzuke_id = 1,2,3,4,5,6 (makuuchi, juryo, makushita, sandanme, jonidan, jonokuchi)
# basho_id = 585 (nov 2017)
# page = 1,2,3 (jonidan, sandanme and makushita have multiple pages)
# note: the /1/1/ at the end is 'kakuzuke_id' and 'page' - apparently you need to change both numbers
curl 'http://sumo.or.jp/EnHonbashoBanzuke/index_ajax/1/1/' --data 'kakuzuke_id=1&basho_id=585&page=1'
# for Japanese, change the base URL:
# http://www.sumo.or.jp/ResultBanzuke/table_ajax/1/1/
curl 'http://www.sumo.or.jp/ResultBanzuke/table_ajax/1/1/' --data 'kakuzuke_id=1&basho_id=585&page=1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment