[Function] w3contents

admin

Administrator
Staff member
w3contents - Read the content of a web page or an article and turn them into a string.

Syntax:
Code:
w3contents(url, regex)

Example:
Code:
{{print_r(
    w3contents(
        'https://www.xvideos.es/video.othbcpvaa8d/solo_ayuda_amistosa_y_nada_mas',
        "/html5player\\.set(\\w+)\\(\\'(https?:\\/\\/[^\\']+)\\'\\);/"
    )
)}}

=> Return:
Code:
Array
(
    [VideoUrlLow] => https://cdn77-vid-mp4.xvideos-cdn.com/DcQpqDm7o9lQ-Un7e_CK-g==,1741142198/videos/3gp/1/c/e/xvideos.com_1ce8fa183000ae6c8e8e6a0581695a2a-1.mp4?ui=NDMuMTM0LjQwLjIxNi0tL3ZpZGVvLm90aGJjcHZhYThkL3NvbG9fYXl1ZGFf
    ...
)
 
Back
Top