7 lines
192 B
Smalltalk
7 lines
192 B
Smalltalk
accessing
|
|
url
|
|
^ url ifNil: [ | temp |
|
|
temp := ((self documentTree xpath: '//div[@class="profile-website"]') // 'a' @@ 'href') first.
|
|
temp ifNil: [ ^ url := nil ].
|
|
url := temp asUrl.
|
|
] |