""" Generate all the URLs. """ base_url = "https://bitcointalk.org/index.php?board=6.{}" counter = 0 for x in range(0, 185): print(base_url.format(counter)) counter += 40