import requests # request img from web
from bs4 import BeautifulSoup
imglinks = []
for i in range(1, 26):
resp = requests.get('https://******/************.html')
soup = BeautifulSoup(resp.content, "html.parser")
links = soup.select('.container > .****** > .img')
for link in links:
imglinks.append(link['src'])
print(links)
My code return NULL (actually it return []) maybe there are some problem with my soup.select ?