How do I pickle the scrape data instead of printing the data?
问题 When I try to pickle the data I get a syntax error. File "C:\Users\Jeanne\Desktop\PYPDIT\untitled3.py", line 33 !mkdir transcripts ^ SyntaxError: invalid syntax import requests from bs4 import BeautifulSoup import pickle urls = ['http://feeds.nos.nl/nosnieuwstech', 'http://feeds.nos.nl/nosnieuwsalgemeen'] with requests.Session() as s: for url in urls: page = s.get(url).text soup = BeautifulSoup(page, "lxml") print(url) print([[i.text for i in desc.select('p')] for desc in soup.select(