摘要: 我们在Server和Client之间通信。 Server的代码如下: """ My demo of sending and reciving data. """ import socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM 阅读全文
posted @ 2025-02-21 18:38 南乡水 阅读(10) 评论(0) 推荐(0)
摘要: import requests from bs4 import BeautifulSoup import time import random url = 'https://book.douban.com/mine?status=collect' headers = { "User-Agent": 阅读全文
posted @ 2025-02-21 17:21 南乡水 阅读(12) 评论(0) 推荐(0)