Advertisement
skaterksa

bliscrap

Dec 17th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. # #do on terminal for the first time
  2. #
  3. # pip install httpie
  4. # alias https='http —default-scheme=https'
  5.  
  6.  
  7. import pprint
  8. from subprocess import call, run, PIPE
  9. #call(["ls", "-l"])
  10.  
  11. x = run(
  12.          ['http', 'https://www.blibli.com/'],
  13.          stdin=None,
  14.          shell=None,
  15.          stdout=PIPE,
  16. )
  17. pprint.pprint(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement