Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###
- from urllib.request import urlopen # the lib that handles the url stuff
- t = "https://raw.githubusercontent.com/Skalbeard/InstaReport/master/targets"
- with urlopen(t) as webpage:
- content = webpage.read().decode()
- with open( 'targets', 'w' ) as output:
- output.write( content )
- ###
- def chunks (a ,b ):
- ""
- for c in range (0 ,len (a ),b ):
- yield a [c : c + b ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement