ENGLISH

Getting Structured Data from the Internet: Running Web Crawlers/Scrapers on a Big Data Production Scale

Book information

Publisher
Apress
Year
2020
ISBN
9781484265765, 9781484265758
ASIN
B08NDFJ8N5
Language
english
Format
AZW3
Filesize
8 MB (8834492 bytes)
Edition
1st ed.
Pages
508\0
Library
SoftArchive
Time added
2023-11-08 21:07:24

Description

Utilize web scraping at scale to quickly get unlimited amounts of free data available on the web into a structured format. This book teaches you to use Python scripts to crawl through websites at scale and scrape data from HTML and JavaScript-enabled pages and convert it into structured data formats such as CSV, Excel, JSON, or load it into a SQL database of your choice. This book goes beyond the basics of web scraping and covers advanced topics such as natural language processing (NLP) and text analytics to extract names of people, places, email addresses, contact details, etc., from a page at production scale using distributed big data techniques on an Amazon Web Services (AWS)-based cloud infrastructure. It book covers developing a robust data processing and ingestion pipeline on the Common Crawl corpus, containing petabytes of data publicly available and a web crawl data set available on AWS's registry of open data.Getting Structured Data from the Internet also includes a step-by-step tutorial on deploying your own crawlers using a production web scraping framework (such as Scrapy) and dealing with real-world issues (such as breaking Captcha, proxy IP rotation, and more). Code used in the book is provided to help you understand the concepts in practice and write your own web crawler to power your business ideas.What You Will LearnUnderstand web scraping, its applications/uses, and how to avoid web scraping by hitting publicly available rest API endpoints to directly get dataDevelop a web scraper and crawler from scratch using lxml and BeautifulSoup library, and learn about scraping from JavaScript-enabled pages using SeleniumUse AWS-based cloud computing with EC2, S3, Athena, SQS, and SNS to analyze, extract, and store useful insights from crawled pagesUse SQL language on PostgreSQL running on Amazon Relational Database Service (RDS) and SQLite using SQLalchemyReview sci-kit learn, Gensim, and spaCy to perform NLP tasks on scraped web pages such as name entity recognition, topic clustering (Kmeans, Agglomerative Clustering), topic modeling (LDA, NMF, LSI), topic classification (naive Bayes, Gradient Boosting Classifier) and text similarity (cosine distance-based nearest neighbors)Handle web archival file formats and explore Common Crawl open data on AWSIllustrate practical applications for web crawl data by building a similar website tool and a technology profiler similar to builtwith.comWrite scripts to create a backlinks database on a web scale similar to Ahrefs.com, Moz.com, Majestic.com, etc., for search engine optimization (SEO), competitor research, and determining website domain authority and rankingUse web crawl data to build a news sentiment analysis system or alternative financial analysis covering stock market trading signalsWrite a production-ready crawler in Python using Scrapy framework and deal with practical workarounds for Captchas, IP rotation, and moreWho This Book Is ForPrimary audience: data analysts and scientists with little to no exposure to real-world data processing challenges, secondary: experienced software developers doing web-heavy data processing who need a primer, tertiary: business owners and startup founders who need to know more about implementation to better direct their technical team

Similar books

The history of the church, from Our Lord's incarnation, to the twelfth year of the Emperor Mauricius Tiberius, or the year of Christ 594 As it was written in Greek by Eusebius Pamphilus, Bishop of Caesarea in Palestine; Socrates Scholasticus, Native of Constantinople; and Evagrius Scholasticus Born at Epiphania in Syria Secunda. Made English from that edition of these Historians, which Valesius published at Paris in the Years 1659, 1668, and 1673. Also, the Life of Constantine in four books, written by Eusebius Pamphilus; with Constantine's Oration to the Convention of the Saints, and Eusebius's Speech in Praise of Constantine, spoken at his Tricennalia. Valesius's Annotations on these Authors are done into English, and set at their proper Places in the Margin; as likewise a Translation of His Account of their Lives and Writings. With Two indexes; the One, of the Principal Matters that occur in the Text; the Other, of those contained in the Notes

AZW3