Debugging user id.
This commit is contained in:
parent
88c0969d0a
commit
938bd300ff
@ -6,9 +6,9 @@ baseline: spec
|
||||
do: [
|
||||
"Dependencies"
|
||||
self xmlParserHTML: spec.
|
||||
self rssTools: spec.
|
||||
"self rssTools: spec."
|
||||
"Packages"
|
||||
spec
|
||||
package: 'Datanalitica'
|
||||
with: [ spec requires: #('XMLParserHTML' 'RSSTools') ]
|
||||
with: [ spec requires: #('XMLParserHTML' "'RSSTools'") ]
|
||||
]
|
@ -1,3 +1,3 @@
|
||||
accessing
|
||||
id
|
||||
^ id ifNil: [id := self profileImageUrl segments third]
|
||||
^ id ifNil: [id := (self profileImageUrl segments select: [ :each | each asInteger class = LargePositiveInteger]) first.]
|
@ -1,4 +1,7 @@
|
||||
accessing
|
||||
url
|
||||
^ url ifNil: [
|
||||
url := ((self documentTree xpath: '//div[@class="profile-website"]') // 'a' @@ 'href') first asUrl]
|
||||
^ url ifNil: [ | temp |
|
||||
temp := ((self documentTree xpath: '//div[@class="profile-website"]') // 'a' @@ 'href') first.
|
||||
temp ifNil: [ ^ url := nil ].
|
||||
url := temp asUrl.
|
||||
]
|
Loading…
Reference in New Issue
Block a user