Monday, March 4, 2019

screen scraping technique using php



How to screen scrape a particular website. I need to log in to a website and then scrape the inner information.
How could this be done?



Please guide me.




Duplicate: How to implement a web scraper in PHP?


Answer



You want to look at the curl functions - they will let you get a page from another website. You can use cookies or HTTP authentication to log in first then get the page you want, depending on the site you're logging in to.



Once you have the page, you're probably best off using regular expressions to scrape the data you want.


No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...