prefer dom dump to singlefile for generating readability output

This commit is contained in:
Nick Sweeting 2024-01-02 19:50:56 -08:00
parent 1f71fedff7
commit 2c54e55697
5 changed files with 217 additions and 443 deletions

View file

@ -99,7 +99,7 @@ def save_readability(link: Link, out_dir: Optional[str]=None, timeout: int=TIMEO
except (Exception, OSError) as err:
status = 'failed'
output = err
cmd = [cmd[0], './{singlefile,dom}.html']
cmd = [cmd[0], './{dom,singlefile}.html']
finally:
timer.end()