电影天堂信息爬取

import requests
import re, os, time


def dytt(num):
    for page in range(1,num+1):
        url = 'http://www.dytt8.net/html/gndy/dyzz/list_23_%d.html' % page
        print(url)
        response = requests.get(url)
        # print(response.text)
        pattern = ' 
 

你可能感兴趣的:(电影天堂信息爬取)