fork download
  1. def extract_page_number(filename):
  2. match = re.search(r'page_(\d+)_', filename)
  3. if match:
  4. return int(match.group(1))
  5. return None
Success #stdin #stdout 0.01s 7132KB
stdin
Standard input is empty
stdout
Standard output is empty