adilsoncarvalho / barateza-nfcrawler

Crawler to get data from the NF-e and NFC-e
2 stars 1 forks source link

Allow passing the url to get scraped #29

Closed adilsoncarvalho closed 8 years ago

adilsoncarvalho commented 8 years ago

Allow to call the image informing which url to get scraped.

Resolves #7

adilsoncarvalho commented 8 years ago

Now this works 🎉

docker run \
  --rm -ti \
  --env START_URL='http://www.dfeportal.fazenda.pr.gov.br/dfe-portal/rest/servico/consultaNFCe?chNFe=41161176430438007508650060000030311006060456&nVersao=100&tpAmb=1&cDest=02236640900&dhEmi=323031362d31312d31345431353a33383a30342d30323a3030&vNF=209.29&vICMS=2.63&digVal=6d72732b36597750536f65617458563342526170566164324c2f413d&cIdToken=000001&cHashQRCode=A13288FD63DDE2E119B07B7A57DBED488D370D33%1B' \
  barateza-nfcrawler