From 5db8cf513482fe47ea97e298c2083c8dcb289b00 Mon Sep 17 00:00:00 2001 From: TheNetsky <56271887+TheNetsky@users.noreply.github.com> Date: Wed, 12 Oct 2022 09:13:36 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20TheNetsk?= =?UTF-8?q?y/extensions-sources@1a6ead48c77f572bc9a272c8825f671a1ff1d791?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- primary/Webtoons/index.js | 4 ++-- primary/Webtoons/source.js | 4 ++-- primary/versioning.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/primary/Webtoons/index.js b/primary/Webtoons/index.js index c3dbf3d..e8776bf 100644 --- a/primary/Webtoons/index.js +++ b/primary/Webtoons/index.js @@ -921,7 +921,7 @@ const WEBTOONS_MOBILE_DOMAIN = 'https://m.webtoons.com'; const userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.124 Safari/537.36 Edg/102.0.1245.44'; let langString = 'en'; // Only used for 'getMangaShareUrl' function exports.WebtoonsInfo = { - version: '2.1.3', + version: '2.1.4', name: 'Webtoons', description: 'Extension that pulls comics from Webtoons.', author: 'btylerh7', @@ -1160,7 +1160,7 @@ class Parser { for (const result of $(resultUl).find('li').toArray()) { const genre = $(result).find('span').text().toLowerCase().replace('like', '').replace(/ /g, '-').trim(); const title = $(result).find('.subj').text().trim(); - const urlTitle = title.replace(/-|'|:/g, '').replace(/ /g, '-').toLowerCase(); + const urlTitle = title.replace(/-|'|:|’/g, '').replace(/ /g, '-').toLowerCase(); const idNumber = $(result).find('a').attr('href')?.split('titleNo=')[1]; const id = `${tagSearch == 'CHALLENGE' ? 'challenge' : genre}/${urlTitle}/list?title_no=${idNumber}`; const subtitle = $(result).find('.author').text().trim() ?? ''; diff --git a/primary/Webtoons/source.js b/primary/Webtoons/source.js index c3dbf3d..e8776bf 100644 --- a/primary/Webtoons/source.js +++ b/primary/Webtoons/source.js @@ -921,7 +921,7 @@ const WEBTOONS_MOBILE_DOMAIN = 'https://m.webtoons.com'; const userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.124 Safari/537.36 Edg/102.0.1245.44'; let langString = 'en'; // Only used for 'getMangaShareUrl' function exports.WebtoonsInfo = { - version: '2.1.3', + version: '2.1.4', name: 'Webtoons', description: 'Extension that pulls comics from Webtoons.', author: 'btylerh7', @@ -1160,7 +1160,7 @@ class Parser { for (const result of $(resultUl).find('li').toArray()) { const genre = $(result).find('span').text().toLowerCase().replace('like', '').replace(/ /g, '-').trim(); const title = $(result).find('.subj').text().trim(); - const urlTitle = title.replace(/-|'|:/g, '').replace(/ /g, '-').toLowerCase(); + const urlTitle = title.replace(/-|'|:|’/g, '').replace(/ /g, '-').toLowerCase(); const idNumber = $(result).find('a').attr('href')?.split('titleNo=')[1]; const id = `${tagSearch == 'CHALLENGE' ? 'challenge' : genre}/${urlTitle}/list?title_no=${idNumber}`; const subtitle = $(result).find('.author').text().trim() ?? ''; diff --git a/primary/versioning.json b/primary/versioning.json index 6905ea0..5dae555 100644 --- a/primary/versioning.json +++ b/primary/versioning.json @@ -1 +1 @@ -{"buildTime":"2022-10-10T23:50:43.719Z","sources":[{"id":"MangaDex","name":"MangaDex","author":"nar1n","desc":"Extension that pulls manga from MangaDex","website":"https://github.com/nar1n","contentRating":"EVERYONE","version":"2.1.10","icon":"icon.png","tags":[{"text":"Notifications","type":"success"}],"websiteBaseURL":"https://mangadex.org"},{"id":"Webtoons","name":"Webtoons","author":"btylerh7","desc":"Extension that pulls comics from Webtoons.","website":"http://github.com/btylerh7","contentRating":"EVERYONE","version":"2.1.3","icon":"logo.png","tags":[{"text":"Multi-Language","type":"info"}],"websiteBaseURL":"https://www.webtoons.com"}],"builtWith":{"cli":"2.0.0-alpha.11","commons":"5.0.0-alpha.5"}} \ No newline at end of file +{"buildTime":"2022-10-12T09:13:33.920Z","sources":[{"id":"MangaDex","name":"MangaDex","author":"nar1n","desc":"Extension that pulls manga from MangaDex","website":"https://github.com/nar1n","contentRating":"EVERYONE","version":"2.1.10","icon":"icon.png","tags":[{"text":"Notifications","type":"success"}],"websiteBaseURL":"https://mangadex.org"},{"id":"Webtoons","name":"Webtoons","author":"btylerh7","desc":"Extension that pulls comics from Webtoons.","website":"http://github.com/btylerh7","contentRating":"EVERYONE","version":"2.1.4","icon":"logo.png","tags":[{"text":"Multi-Language","type":"info"}],"websiteBaseURL":"https://www.webtoons.com"}],"builtWith":{"cli":"2.0.0-alpha.11","commons":"5.0.0-alpha.5"}} \ No newline at end of file