forked from MapComplete/MastodonBot
Merge pull request 'Find Fediverse links in classic OSM profiles' (#9) from rompe/MastodonBot:8-find_all_social_links into main
Reviewed-on: MapComplete/MastodonBot#9 Reviewed-by: Pieter Vander Vennet <pietervdvn@posteo.net>
This commit is contained in:
commit
2f4c15b8a1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue