maaaaz / webscreenshot

A simple script to screenshot a list of websites
GNU Lesser General Public License v3.0
653 stars 162 forks source link

custom filename with timestamp suffix #65

Open tommeagher opened 3 years ago

tommeagher commented 3 years ago

Hi, this is a great tool. I'd really like to be able to change the output filename for each png saved. Ideally, there would be a command line parameter that would simply append a datestamp as a string to the existing filename, which is the url. Is this something that is possible through the command line, or would I have to fork the repo and adjust this line to add an option to append it? You mention there are some length constraints even below 255 for certain renderers. Are those constraints documented somewhere? What ballpark should be avoided?

maaaaz commented 3 years ago

Hello @tommeagher,

Cheers.

tommeagher commented 3 years ago

Thanks for the quick response. Would you be open to a pull request if I were to try to add this option?

JPnux commented 2 years ago

Hello, is it possible to implement this function ? thanks