From 66a4953b839d046e5eb02d2b9ed469585601fd68 Mon Sep 17 00:00:00 2001 From: Jason Schwarzenberger Date: Thu, 10 Dec 2020 16:43:33 +1300 Subject: [PATCH] add video max-with --- apiserver/scrapers/declutter.py | 2 +- webapp/src/components/Article.svelte | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apiserver/scrapers/declutter.py b/apiserver/scrapers/declutter.py index c3a56a5..8a97443 100644 --- a/apiserver/scrapers/declutter.py +++ b/apiserver/scrapers/declutter.py @@ -7,7 +7,7 @@ import requests from settings import HEADLESS_READER_PORT, SIMPLE_READER_PORT class Simple: - def __init__(self, host, name, internal=True, timeout=20): + def __init__(self, host, name, internal=True, timeout=90): self.host = host self.name = name self.internal = internal diff --git a/webapp/src/components/Article.svelte b/webapp/src/components/Article.svelte index 10d54e0..cf51c0e 100644 --- a/webapp/src/components/Article.svelte +++ b/webapp/src/components/Article.svelte @@ -54,6 +54,7 @@ text-align: justify; } .article-body :global(figure), + .article-body :global(video), .article-body :global(img) { max-width: 100%; height: auto;