Created
June 6, 2018 13:30
-
-
Save falsovsky/97353fc16c7be7924ead216671c9d9a3 to your computer and use it in GitHub Desktop.
ctt
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib | |
from bs4 import BeautifulSoup | |
params = urllib.urlencode({'showResults': 'true', 'objects': 'RF411806005CN'}) | |
f = urllib.urlopen("http://www.ctt.pt/feapl_2/app/open/objectSearch/objectSearch.jspx", params) | |
print f.read() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment