"HTML'yi İncelemek"

Python ile Web Scraping

Thomas Laetsch, PhD

Data Scientist, NYU

"Kaynak" = HTML Kodu

Kaynağı Görüntüle

Kaynak

Python ile Web Scraping

Öğeleri İnceleme

Öğeyi İncele

Öğe Kaynağı

Python ile Web Scraping

HTML metninden Selector

from scrapy import Selector
import requests

url = 'https://en.wikipedia.org/wiki/Web_scraping'
html = requests.get( url ).content
sel = Selector( text = html )
Python ile Web Scraping

Sırlarımıza Hakimsiniz

Python ile Web Scraping

Preparing Video For Download...