mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-25 07:20:59 +02:00
hide scrollbars in screenshots
This commit is contained in:
@@ -280,7 +280,9 @@ def fetch_screenshot(link_dir, link, timeout=TIMEOUT, user_data_dir=CHROME_USER_
|
|||||||
*chrome_headless(user_data_dir=user_data_dir),
|
*chrome_headless(user_data_dir=user_data_dir),
|
||||||
'--screenshot',
|
'--screenshot',
|
||||||
'--window-size={}'.format(resolution),
|
'--window-size={}'.format(resolution),
|
||||||
link['url']
|
'--hide-scrollbars',
|
||||||
|
# '--full-page', # TODO: make this actually work using ./bin/screenshot fullPage: true
|
||||||
|
link['url'],
|
||||||
]
|
]
|
||||||
end = progress(timeout, prefix=' ')
|
end = progress(timeout, prefix=' ')
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user