Skip to content

Instantly share code, notes, and snippets.

@eyJhb
Created October 17, 2018 16:35
Show Gist options
  • Save eyJhb/ee86d4cb1b468b3553abebc6b3e491da to your computer and use it in GitHub Desktop.
Save eyJhb/ee86d4cb1b468b3553abebc6b3e491da to your computer and use it in GitHub Desktop.
page enumeration for Skousen RMA images
import requests
url = "https://images.wagcdn.com/800/600/scale/p/skadesformular/{0}_{1}.jpg"
for caseNumber in range(77667, 100000):
for caseImage in range(0, 5):
req = requests.get(url.format(caseNumber, caseImage))
if not req.status_code == 200:
continue
print(req.url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment