「Webサイトの情報を自動で集めたい!」 そう思ってスクレイピングを始めたものの、requests で取得した HTMLの壁(大量のタグの羅列) を前に絶望したことはありませんか? 正規表現で <p>.*?</p> のようなパターンを書いて抽出するのは、もうやめましょう。
Before diving into scraping, it's important to understand the building blocks of HTML. HTML consists of tags that define a webpage's structure and components. For ...