如果我有一个文件,举办这样的 ++++++++++++++
Country 1
**this sentence is not important.
**date 25.09.2017, also not important
*******
Address
**Office
Address A, 100 City. Country X
**work time 09h00
我成功地刮掉了网站的第一页,但是当我试图刮掉多页面页面时,它工作正常,但结果完全错误。 代码: import requests
from bs4 import BeautifulSoup
from urllib.parse import urljoin
for num in range(1,15):
res = requests.get('http://www.abcde.com/
我是python的新手,我需要帮助才能抓取某个关键字的所有链接。问题是,我发现了以下错误: if "air-max" in link["href"]: ^ IndentationError: expected an indented block. 这里是我的代码 import requests
import time
from bs4 import BeautifulSoup
header