+ 1

PHP Scraping

can any one tell me how to scrape website html "tags" value in php

21st Jun 2020, 3:01 PM
Farhan Ellahi
Farhan Ellahi - avatar
5 Answers
+ 3
{% blockquote %} Web scraping (web harvesting or web data extraction) is a computer software technique of extracting information from websites. Usually, such software programs simulate human exploration of the World Wide Web by either implementing low-level Hypertext Transfer Protocol (HTTP), or embedding a fully-fledged web browser, such as Internet Explorer or Mozilla Firefox. {% endblockquote %} So yes, web scraping lets us extract information from websites. But the thing is there are some legal issues regarding web scraping. Some consider it as an act of trespassing to the website where you are scraping the data from. That's why it is wise to read the terms of service of the specific website that you want to scrape because you might be doing something illegal without knowing it. Kartik Mishra Please remember to credit the source. https://www.ictea.com/cs/index.php?rp=%2Fknowledgebase%2F2058%2FiQue-es-andsharp039web-scrapingandsharp039.html&language=english
22nd Jun 2020, 9:12 AM
Kartik Mishra
Kartik Mishra - avatar
+ 3
Ok
22nd Jun 2020, 9:16 AM
Kartik Mishra
Kartik Mishra - avatar
+ 3
<?php $html = file_get_contents('http://pokemondb.net/evolution'); ?>
22nd Jun 2020, 9:55 AM
Kartik Mishra
Kartik Mishra - avatar
+ 1
My work is legal...
22nd Jun 2020, 9:16 AM
Farhan Ellahi
Farhan Ellahi - avatar
+ 1
Can you send me the sample code
22nd Jun 2020, 9:17 AM
Farhan Ellahi
Farhan Ellahi - avatar