Skip to content

Commit

Permalink
MangaDex | 3.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNetsky committed Feb 24, 2024
1 parent 77866bf commit b55206f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MangaDex/MangaDex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const MangaDexInfo: SourceInfo = {
description: 'Extension that pulls manga from MangaDex',
icon: 'icon.png',
name: 'MangaDex',
version: '3.0.4',
version: '3.0.5',
authorWebsite: 'https://github.com/nar1n',
websiteBaseURL: MANGADEX_DOMAIN,
contentRating: ContentRating.EVERYONE,
Expand Down Expand Up @@ -358,7 +358,7 @@ export class MangaDex implements ChapterProviding, SearchResultsProviding, HomeP

const url = new URLBuilder(this.MANGADEX_API)
.addPathComponent('manga')
.addQueryParameter(searchType, (query.title?.length ?? 0) > 0 ? query.title : undefined)
.addQueryParameter(searchType, query?.title?.replace(/ /g, '+') || '')
.addQueryParameter('limit', 100)
.addQueryParameter('hasAvailableChapters', true)
.addQueryParameter('availableTranslatedLanguage', languages)
Expand Down

0 comments on commit b55206f

Please sign in to comment.