mirror of https://github.com/Black-Gold/Learn
master
parent
b1de2bcba0
commit
69d91f9175
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/python3
|
||||||
|
# -*- coding: UTF-8 -*-
|
||||||
|
'''
|
||||||
|
从https://unsplash.com抓取图片
|
||||||
|
|
||||||
|
'''
|
||||||
|
|
||||||
|
import requests
|
||||||
|
if __name__ == '__main__':
|
||||||
|
domain = 'https://unsplash.com'
|
||||||
|
r = requests.get(url=domain)
|
||||||
|
print(t.text)
|
||||||
|
|
Loading…
Reference in new issue