#!/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)