Skip to content

Instantly share code, notes, and snippets.

@falsovsky
Created June 6, 2018 13:30
Show Gist options
  • Save falsovsky/97353fc16c7be7924ead216671c9d9a3 to your computer and use it in GitHub Desktop.
Save falsovsky/97353fc16c7be7924ead216671c9d9a3 to your computer and use it in GitHub Desktop.
ctt
#!/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