代码如下:
# -*- coding: utf-8 -*-
import requests
from bs4 import BeautifulSoup
#content > p:nth-child(3) > strong
for page in range(1,101,1):
url = "http://www.w3cschool.cn/python/python-exercise-example{}.html".form
代码如下:
# -*- coding: utf-8 -*-
import requests
from bs4 import BeautifulSoup
#content > p:nth-child(3) > strong
for page in range(1,101,1):
url = "http://www.w3cschool.cn/python/python-exercise-example{}.html".form