- TypeError: Type ‘list’ cannot be serialized. 问题
- https://www.bilibili.com/video/BV1aJ411C7oM?p=24
- https://stackoverflow.com/questions/56726008/how-can-i-solve-this-particular-typeerror-type-nonetype-cannot-be-serialized
import requests
from lxml import etree
from bs4 import BeautifulSoup
# from quart import Quart
#
# app = Quart(__name__)
HEADERS = {
'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/