Fixing api value extraction.
This commit is contained in:
parent
873a5cd609
commit
9337c46863
@ -34,10 +34,14 @@ Invidious class >> rawInstances [
|
||||
retrieveContents
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
Invidious >> api [
|
||||
^ api
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
Invidious >> api: booleanValue [
|
||||
(booleanValue = 'true')
|
||||
ifTrue: [ api := true ] ifFalse: [ api := false ]
|
||||
api := booleanValue.
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
@ -67,8 +71,10 @@ Invidious >> monitor: aDictionary [
|
||||
|
||||
{ #category : #accessing }
|
||||
Invidious >> printOn: aStream [
|
||||
| ratio |
|
||||
ratio := self monitor at: '90DaysRatio' ifAbsent: [ '--' ].
|
||||
super printOn: aStream.
|
||||
^ aStream nextPutAll: ' ( ', self uri asString, ' | ', self region, ' | ', (self monitor at: '90DaysRatio'), '% ) '
|
||||
^ aStream nextPutAll: ' ( ', self uri asString, ' | ', self region, ' | ', ratio, '% ) '
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
|
Loading…
Reference in New Issue
Block a user