pablolec/Auto Website to GIF or WebP

Upgrade your README with a fresh file of a web page.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
urlWeb page URL to be capturedyes
save_pathFile saving path, starts with /, defaults to repo rootno/
file_formatSave as GIF or WebP, defaults to GIFnoGIF
file_nameFile name, do not include extension or path, defaults to 'demo'nodemo
window_widthBrowser window width, defaults to 1920 (px)no1920
window_heightBrowser window height, defaults to 1080 (px)no1080
start_yPosition where capture should start, defaults to 0 (px)no0
stop_yPosition where capture should stop, defaults to bottom of pageno0
final_widthFinal width, defaults to 640 (px)no640
final_heightFinal height, defaults to 360 (px)no360
scroll_stepNumber of pixels by scroll, defaults to 25 (px)no25
time_per_frameMilliseconds per frame, defaults to 100 (ms)no100
resizing_filterFilter used to resize frames, see https://pillow.readthedocs.io/en/stable/reference/Image.html?highlight=resize#PIL.Image.Image.resize, defaults to LANCZOSnoLANCZOS
start_delayNumber of milliseconds to wait for before starting capture, defaults to 0 (ms)no0
no_scollCapture GIF without page scroll, will discard any scroll related parameter, defaults to falsenofalse
time_between_framesNumber of milliseconds between frame captures if no_scroll is true, defaults to 100 (ms)no100
number_of_framesNumber of frames to be captured if no_scroll is true, defaults to 20no20

no outputs