diff --git a/plugins/thefarside/cover.jpg b/plugins/thefarside/cover.jpg new file mode 100644 index 00000000..d1734143 Binary files /dev/null and b/plugins/thefarside/cover.jpg differ diff --git a/plugins/thefarside/cover_big.jpg b/plugins/thefarside/cover_big.jpg new file mode 100644 index 00000000..bcfc0709 Binary files /dev/null and b/plugins/thefarside/cover_big.jpg differ diff --git a/plugins/thefarside/example.jpg b/plugins/thefarside/example.jpg new file mode 100644 index 00000000..671443aa Binary files /dev/null and b/plugins/thefarside/example.jpg differ diff --git a/plugins/thefarside/extract.js b/plugins/thefarside/extract.js new file mode 100644 index 00000000..f7094f87 --- /dev/null +++ b/plugins/thefarside/extract.js @@ -0,0 +1,5 @@ +function(page) { +var regex = /]*id="[^"]*"[^>]*src="([^"]*)"/; +var match = regex.exec(page); +return match[1]; +} diff --git a/plugins/thefarside/info.json b/plugins/thefarside/info.json new file mode 100644 index 00000000..d0291767 --- /dev/null +++ b/plugins/thefarside/info.json @@ -0,0 +1,10 @@ +{ + "name": "The Far Side", + "color": "3f8eb9", + "language": "en", + "authors": [ + "Gary Larson" + ], + "homepage": "https://www.thefarside.com/", + "stripSource": "https://www.thefarside.com/" +}