python web scraping

	#Run request
	url = "https://nanolooker.com/account/" + address
    response = requests.get(url)

    if response.ok:
        # Make some soup
    	soup = BeautifulSoup(response.text, "lxml")

        #Show the title
    	print("The title is: " + str(soup.title.string))

Here is what the above code is Doing:
1. We’re importing the requests and BeautifulSoup libraries.
2. We’re creating a variable called “address” and setting it equal to the Nano address we want to check.
3. We’re creating a variable called “url” and setting it equal to the URL of the NanoLooker page we want to check.
4. We’re sending a GET request to the URL we created in step 3.
5. We’re checking to see if the response was successful.
6. If the response was successful, we’re creating a BeautifulSoup object called “soup” and setting it equal to the HTML of the page we requested.
7. We’re printing the title of the page.

You can run the code by pressing F5 or by clicking the Run button in the upper right corner of the screen.

You should see the title of the page printed in the console.

Now that we know how to make a request and parse the HTML, let’s get the data we want.