Improved naming to better convey intention and more TO DO's.
This commit is contained in:
parent
52b90dd8dd
commit
2c61055b38
@ -2,7 +2,7 @@ accessing
|
||||
collectRawTweetsForPages: anInteger
|
||||
|
||||
| pagesDict response |
|
||||
pagesDict := self pageURLs: anInteger.
|
||||
pagesDict := self getPagesContentsUntil: anInteger.
|
||||
response := TweetsCollection new.
|
||||
response query: pagesDict keys.
|
||||
pagesDict keysAndValuesDo: [ :key :rawTweets | | temp |
|
||||
|
@ -1,7 +1,11 @@
|
||||
accessing
|
||||
pageURLs: anInteger
|
||||
|
||||
| response nextPageLink previousPageLink dicTemp |
|
||||
getPagesContentsUntil: anInteger
|
||||
"I retroactively get all pages contents until a specified page number.
|
||||
|
||||
TO DO: should this be splitted back to two methods, one getting the page urls and other its content?
|
||||
or do we always be getting the cursor urls and its contents all the time.
|
||||
[ ] Benchmark alternative approaches."
|
||||
| response nextPageLink previousPageLink |
|
||||
|
||||
response := OrderedDictionary new.
|
||||
response at: self userNameLink put: self documentTree.
|
Loading…
Reference in New Issue
Block a user