Python/スクレイピング

Python
#imgのsrcをすべて取得

import requests
from bs4 import BeautifulSoup

response = requests.get('http://winefile.net')
soup = BeautifulSoup(response.text,'lxml')
links = soup.findAll('img')
for link in links:
   print(link.get('src'))