Home > Backend Development > PHP Tutorial > How to use php's curl to grab lazy loaded images, please give me some advice

How to use php's curl to grab lazy loaded images, please give me some advice

WBOY
Release: 2016-10-17 09:30:00
Original
1512 people have browsed it

Crawling image information, but lazy loading can only load part of it. How to crawl all images

Reply content:

Crawling image information, but lazy loading can only load part of it. How to crawl all images

Lazy loading means that when you slide down, the website will request an interface via Ajax again, which is a bit similar to paging. You need to look at the link of his ajax request and then crawl to the corresponding link.

This capture has something to do with how your regular matching is written. curl just simulates a request

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template