Improve Mastodon profile link detection #11

Merged
pietervdvn merged 4 commits from rompe/MastodonBot:10-improve_mastodon_profile_link_detection into main 2025-08-25 22:45:07 +00:00
Showing only changes of commit 0b8cda3fd0 - Show all commits

View file

@ -109,7 +109,7 @@ export default class OsmUserInfo {
fullPage.innerHTML = fullPageStr
const contentbody = fullPage.getElementsByClassName("content-body")
const content = contentbody.item(0)
const div = Array.from(content.getElementsByClassName("row"))[0]
const div = Array.from(content.getElementsByClassName("content-inner"))[0]
if(!div){
return []
@ -147,4 +147,4 @@ export default class OsmUserInfo {
return this._userData
}
}
}