摘要: import requests import time headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.19 阅读全文
posted @ 2023-08-19 21:59 魔法-狼 阅读(31) 评论(0) 推荐(0)
摘要: python安装 电脑操作系统不同,安装的方式也用不同 windows7操作系统 64位操作系统安装 32位操作系统安装 windows10操作系统 64位操作系统安装 32位操作系统安装 macOS系统 intel处理器 apple芯片 第一步 第二步 验证安装结果 按下 Win + R 键后,在 阅读全文
posted @ 2023-02-06 08:42 魔法-狼 阅读(33) 评论(0) 推荐(0)
摘要: 豆瓣静态爬取 点击查看代码 ``` # 导入 requests 库 import requests # 从 bs4 库导入 BeautifulSoup from bs4 import BeautifulSoup # 定制消息头 headers = { 'user-agent': 'Mozilla/5 阅读全文
posted @ 2023-02-05 13:00 魔法-狼 阅读(27) 评论(0) 推荐(0)
摘要: main.py ` 点击查看代码 import time from infos import infos from film_selector import FilmSelector from seat_booking import SeatBooking class Controller: def 阅读全文
posted @ 2023-02-03 21:11 魔法-狼 阅读(79) 评论(0) 推荐(0)