Skip to content

Commit

Permalink
[Tapas] Cleanup manga title on url paste (#6153)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheepux authored Aug 17, 2023
1 parent d936eb2 commit 19b23ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/mjs/connectors/Tapas.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class Tapas extends Connector {

async _getMangaFromURI(uri) {
let request = new Request(uri, this.requestOptions);
let data = await this.fetchDOM(request, 'head title');
let data = await this.fetchDOM(request, 'div.info a.title');
let id = uri.pathname;
let title = data[0].textContent.trim();
return new Manga(this, id, title);
Expand Down

0 comments on commit 19b23ea

Please sign in to comment.