refactor: remove dead code (#4385)

This commit is contained in:
Dag 2025-01-03 05:04:49 +01:00 committed by GitHub
parent 7c6d4a932c
commit c44a76ff17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 52 additions and 106 deletions

View file

@ -36,7 +36,7 @@ class TapasBridge extends FeedExpander
$this->id = $this->getInput('title');
}
if ($this->getInput('force_title') || !$this->id) {
$html = getSimpleHTMLDOM($this->getURI()) or returnServerError('Could not request ' . $this->getURI());
$html = getSimpleHTMLDOM($this->getURI());
$this->id = $html->find('meta[property$=":url"]', 0)->content;
$this->id = str_ireplace(['tapastic://series/', '/info'], '', $this->id);
}