forked from DebaucheryLibrarian/traxxx
Improved site and network pages. Fixed various issues.
This commit is contained in:
@@ -54,7 +54,7 @@ function scrapeLatest(html, site) {
|
||||
return sceneElements.reduce((acc, element) => {
|
||||
const siteUrl = element.querySelector('.help-block').textContent;
|
||||
|
||||
if (siteUrl.toLowerCase() !== new URL(site.url).host) {
|
||||
if (`www.${siteUrl.toLowerCase()}` !== new URL(site.url).host) {
|
||||
// different dogfart site
|
||||
return acc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user