01-08-2023, 08:54 AM
|
|
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Quote:
Originally Posted by zijlstravideo
PhantomJS, old but gold.
It's a scriptable (javascript), headless browser and thus, perfect for automated tasks (for example: screenshots, but also to cache rendered javascript code). The PhantomJS manual even includes an example code on how to make a screenshot, which works out of the box.
The linux version is a static linked binary, which means that it doesn't have any dependencies and therefore can run pretty much anywhere, even on shared hosting. It's a single file that you can basically copy anywhere on your web host and execute it through your php script or cronjob or whatever.
There's also PhantomJS for Windows, which works great as well. Perfect to combine with batch scripting for some automation (to loop through a txt file, line by line and such... think of a list of urls, in your case).
If you need an example bat script for Windows on how to loop through a list, let me know.
|
Do you know of one that can get past the age confirmation pop ups on paysites?
|
|
|