Skip to content

Commit

Permalink
Use scraper.textContent for TurnoffScraper
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 31, 2024
1 parent 5f159f0 commit ae1c64b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scrapers/TurnoffScraper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ export class TurnoffScraper implements ScraperInterface {
const document = scraper.createParser(content);

let link = scraper.forceHttps(
document.querySelector("rss channel item guid")?.textContent,
scraper.textContent(document, "rss channel item guid")
);

if (!link) {
return;
}
Expand Down

0 comments on commit ae1c64b

Please sign in to comment.