Skip to content

Instantly share code, notes, and snippets.

@marcelcaraciolo
Created June 4, 2012 04:12
Show Gist options
  • Save marcelcaraciolo/2866283 to your computer and use it in GitHub Desktop.
Save marcelcaraciolo/2866283 to your computer and use it in GitHub Desktop.
crawler_p1.py
import urllib2
import sys
def captura_html(url):
pass
def extrai_status(html):
pass
def obter_rastreamento(codigo):
pass
if __name__ == '__main__':
codigo = sys.argv[1]
status = obter_rastreamento(codigo)
print 'status', status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment