Skip to content

Commit

Permalink
Add MangaOrigines
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNetsky committed Jul 24, 2024
1 parent d44a667 commit 8199796
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions src/MangaOrigines/MangaOrigines.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import {
ContentRating,
BadgeColor,
SourceInfo,
SourceIntents
} from '@paperback/types'

import {
getExportVersion,
Madara
} from '../Madara'

const DOMAIN = 'https://mangas-origines.fr'

export const MangaOriginesInfo: SourceInfo = {
version: getExportVersion('0.0.0'),
name: 'MangaOrigines',
description: `Extension that pulls manga from ${DOMAIN}`,
author: 'Netsky',
authorWebsite: 'http://github.com/TheNetsky',
icon: 'icon.png',
contentRating: ContentRating.ADULT,
websiteBaseURL: DOMAIN,
sourceTags: [
{
text: '18+',
type: BadgeColor.YELLOW
},
{
text: 'French',
type: BadgeColor.GREY
},
{
text: 'Region Locked',
type: BadgeColor.RED
}
],
intents: SourceIntents.MANGA_CHAPTERS | SourceIntents.HOMEPAGE_SECTIONS | SourceIntents.CLOUDFLARE_BYPASS_REQUIRED | SourceIntents.SETTINGS_UI
}

export class MangaOrigines extends Madara {

baseUrl: string = DOMAIN

override chapterEndpoint = 3

override directoryPath = 'oeuvre'

override language = '🇫🇷'
}
Binary file added src/MangaOrigines/includes/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8199796

Please sign in to comment.