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

Update: tamilyogi #79

Merged
merged 1 commit into from
Oct 22, 2023
Merged
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
12 changes: 6 additions & 6 deletions repo/tamilyogi.band.js → repo/tamilyogi.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// ==MiruExtension==
// @name TamilYogi
// @version v0.0.1
// @version v0.0.2
// @author appdevelpo
// @lang hi-ta
// @license MIT
// @icon https://tamilyogi.band/wp-content/uploads/2021/06/ty.png
// @package tamilyogi.band
// @icon https://tamilyogi.plus/wp-content/uploads/2021/06/ty.png
// @package tamilyogi
// @type bangumi
// @webSite https://tamilyogi.band
// @webSite https://tamilyogi.plus
// @nsfw false
// ==/MiruExtension==

Expand All @@ -17,7 +17,7 @@ export default class extends Extension {
const bsxList = res.match(/"cover[\s\S]+?postmetadata/g);
const bangumi = [];
bsxList.forEach((element) => {
const url = element.match(/href="https:\/\/tamilyogi.band(.+?)"/)[1];
const url = element.match(/href="https:\/\/tamilyogi.plus(.+?)"/)[1];
// console.log(url);
const title = element.match(/alt="(.+?)"/)[1];
// console.log(title);
Expand All @@ -37,7 +37,7 @@ export default class extends Extension {
const bsxList = res.match(/"cover[\s\S]+?postmetadata/g);
const bangumi = [];
bsxList.forEach((element) => {
const url = element.match(/href="https:\/\/tamilyogi.band(.+?)"/)[1];
const url = element.match(/href="https:\/\/tamilyogi.plus(.+?)"/)[1];
const title = element.match(/alt="(.+?)"/)[1];
const cover_match = element.match(/src="(.+?)"/)[1];
bangumi.push({
Expand Down