Site icon CodeRevolution Support

Scrapping a gallery that contains multiple images on mutiple pages.

Hello, I'm trying to scrape content from https://fapello.com/ (porn) If I run the scrapper on a page with content, for example this page: https://fapello.com/ayelenn/ The scrapper copies the small gallery images that are on that page Url above into the post. But what I'd like to do is for the scrapper to copy each large image that you can see after clicking on each of the gallery images and add all those images to the wordpress gallery for that post. Basically I'm trying to achieve the same "Gallery" result as the website I'm copying from. Each link in the gallery has a number after it. For example: https://fapello.com/ayelenn/1/ https://fapello.com/ayelenn/2 https://fapello.com/ayelenn/3 I would need to use regex to accomplish this? Also how do I add the images to the wordpress gallery instead of embedding them into the post? Can you please provide some guidance on how to achieve this? I can provide more details if needed. Thanks.  
Exit mobile version