Author
|
zPlus <zplus@peers.community>
2024-12-25 10:30:09
|
Committer
|
zPlus <zplus@peers.community>
2024-12-25 10:30:09
|
Commit
|
eef7389
(patch)
|
Tree
|
d8accbb
|
Parent(s)
|
|
[XKCD] Skip #1663.
commits diff:
28e21db..eef7389
1 file changed,
5 insertions,
0 deletions
—
download
Diffstat
Diff options
+5/-0
M scripts/xkcd/xkcd.py
24
|
24
|
|
if n == 1608:
|
25
|
25
|
|
continue
|
26
|
26
|
|
|
|
27
|
+ |
# Also skip 1663. This is also a comics using JavaScript.
|
|
28
|
+ |
# TODO how should we add these comics with JavaScript?
|
|
29
|
+ |
if n == 1663:
|
|
30
|
+ |
continue
|
|
31
|
+ |
|
27
|
32
|
|
req = requests.get(url = f"https://xkcd.com/{n}/info.0.json")
|
28
|
33
|
|
|
29
|
34
|
|
if req.status_code != 200:
|