From eef738914ddc7128a5b6112983cfe332ad00c408 Mon Sep 17 00:00:00 2001 From: zPlus Date: Wed, 25 Dec 2024 11:30:09 +0100 Subject: [PATCH] [XKCD] Skip #1663. --- scripts/xkcd/xkcd.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/xkcd/xkcd.py b/scripts/xkcd/xkcd.py index 06f5da0..c37e4e6 100755 --- a/scripts/xkcd/xkcd.py +++ b/scripts/xkcd/xkcd.py @@ -24,6 +24,11 @@ for n in range(START_NUMBER, END_NUMBER + 1): if n == 1608: continue + # Also skip 1663. This is also a comics using JavaScript. + # TODO how should we add these comics with JavaScript? + if n == 1663: + continue + req = requests.get(url = f"https://xkcd.com/{n}/info.0.json") if req.status_code != 200: