Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New plugins #114

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added plugins/gorilla/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/gorilla/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/gorilla/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions plugins/gorilla/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function(page) {
var regex = /\/cartoon.+?<img\ssrc="([^"]*)"/;
var match = regex.exec(page);
return match[1];
}
10 changes: 10 additions & 0 deletions plugins/gorilla/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Gorilla",
"color": "ed1c24",
"language": "nl",
"authors": [
"Gorilla, a joint project of the Designpolitie, Lesley Moore and Herman van Bostelen"
],
"homepage": "https://www.groene.nl/cartoonisten/gorilla",
"stripSource": "https://www.groene.nl/cartoonisten/gorilla"
}
Binary file added plugins/heindekort/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/heindekort/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/heindekort/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions plugins/heindekort/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function(page) {
var regex = /<img[^>]*src="([^"]*)"/g;
var match = regex.exec(page);
var match2 = regex.exec(page);
return match2[1].replace(/&amp;/g, '&');
}
10 changes: 10 additions & 0 deletions plugins/heindekort/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Hein de Kort",
"color": "bb2622",
"language": "nl",
"authors": [
"Hein de Kort"
],
"homepage": "http://www.heindekort.nl/",
"stripSource": "https://www.parool.nl/columns-opinie/hein-de-kort~q413f929/"
}
Binary file added plugins/lectrr/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/lectrr/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/lectrr/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions plugins/lectrr/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function(page) {
var regex = /<img src="(.+?jpg)\?.+?alt="Cartoon\svan\sde\sdag/;
var match = regex.exec(page);
return match[1];
}
10 changes: 10 additions & 0 deletions plugins/lectrr/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Lectrr",
"color": "6adbaf",
"language": "nl",
"authors": [
"Lectrr"
],
"homepage": "http://www.lectrr.be/",
"stripSource": "https://www.standaard.be/foto"
}
2 changes: 1 addition & 1 deletion plugins/loadingartist/extract.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function(page) {
var regex = /<img[^>]*src="([^"]*\/wp-content\/uploads\/[^"]*)"/;
var regex = /<img src=(\/comic[^\s]*.jpg)/;
var match = regex.exec(page);
return match[1];
}
Binary file added plugins/pietergeenen/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/pietergeenen/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/pietergeenen/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions plugins/pietergeenen/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function(page) {
// var regex = /<img\ssrc="([^"]*)"/;
var regex = /<source\ssrcset="([^"]*)"\stype="image\/jpeg">/;
var match = regex.exec(page);
return match[1].replace('&amp;', '&');
// return match[1].replace('\/thumbs', '');
}
10 changes: 10 additions & 0 deletions plugins/pietergeenen/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "De wereld van Anton Dingeman",
"color": "005693",
"language": "nl",
"authors": [
"Pieter Geenen"
],
"homepage": "https://www.trouw.nl/cartoons/de-wereld-van-anton-dingeman~b7e8c8e1/",
"stripSource": "https://www.trouw.nl/cartoons/de-wereld-van-anton-dingeman~b7e8c8e1/"
}
Binary file added plugins/schot/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/schot/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/schot/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions plugins/schot/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function(page) {
var regex = /<img\ssrc="([^"]*)"/;
var match = regex.exec(page);
// return match[1];
return match[1].replace('\/thumbs', '');
}
10 changes: 10 additions & 0 deletions plugins/schot/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Schot",
"color": "1985cd",
"language": "nl",
"authors": [
"Bas van der Schot"
],
"homepage": "https://basvanderschot.com",
"stripSource": "https://basvanderschot.com/feeds/feed-en.rss"
}
2 changes: 1 addition & 1 deletion plugins/suporte/extract.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
unction(page) {
function(page) {
var regex = /<img[^>]*src="([^"]*\/wp-content\/uploads\/[^"]*\/Suporte_[^"]*)"/;
var match = regex.exec(page);
return match[1];
Expand Down
2 changes: 1 addition & 1 deletion plugins/swamp/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"Gary Clark"
],
"homepage": "https://www.swamp.com.au/",
"stripSource": "http://www.swamp.com.au/cartoons.php"
"stripSource": "http://www.swamp.com.au"
}
Binary file added plugins/tjeerdroyaards/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/tjeerdroyaards/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/tjeerdroyaards/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions plugins/tjeerdroyaards/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function(page) {
var regex = /<img[^>]*src="([^"]*\/.a\/[^"]*)"/;
var match = regex.exec(page);
return match[1];
}
10 changes: 10 additions & 0 deletions plugins/tjeerdroyaards/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Tjeerd Royaards: Political Cartoons",
"color": "ffffff",
"language": "en",
"authors": [
"Tjeerd Royaards"
],
"homepage": "http://tjeerdroyaards.com/",
"stripSource": "https://tjeerdroyaards.typepad.com/"
}
Binary file added plugins/zak/cover-big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/zak/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added plugins/zak/example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions plugins/zak/extract.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function(page) {
var regex = /<meta property="og:image" content="([^"]*)"/;
var match = regex.exec(page);
return match[1];
// return match[1].replace(/&amp;/g, '&');
}
10 changes: 10 additions & 0 deletions plugins/zak/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "ZAK",
"color": "f2f2f2",
"language": "nl",
"authors": [
"ZAK"
],
"homepage": "http://www.presscartoon.com/en/auteurs/biography/pcb_zak_21",
"stripSource": "http://www.presscartoon.com/en/auteurs/cartoons/pcb_zak_21"
}