-
-
Save jezinka/def988f752ddd88251fce0065dc1ec72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib, re | |
param = str(12345) | |
while(True): | |
url = "http://www.pythonchallenge.com/pc/def/linkedlist.php?nothing=" + param | |
page_content = urllib.urlopen(url).read() | |
print page_content | |
param = re.findall("nothing is (\d+)", page_content)[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment