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
|
collectRawTweetsForPages: anInteger
|
||||||
|
|
||||||
| pagesDict response |
|
| pagesDict response |
|
||||||
pagesDict := self pageURLs: anInteger.
|
pagesDict := self getPagesContentsUntil: anInteger.
|
||||||
response := TweetsCollection new.
|
response := TweetsCollection new.
|
||||||
response query: pagesDict keys.
|
response query: pagesDict keys.
|
||||||
pagesDict keysAndValuesDo: [ :key :rawTweets | | temp |
|
pagesDict keysAndValuesDo: [ :key :rawTweets | | temp |
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
accessing
|
accessing
|
||||||
pageURLs: anInteger
|
getPagesContentsUntil: anInteger
|
||||||
|
"I retroactively get all pages contents until a specified page number.
|
||||||
| response nextPageLink previousPageLink dicTemp |
|
|
||||||
|
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 := OrderedDictionary new.
|
||||||
response at: self userNameLink put: self documentTree.
|
response at: self userNameLink put: self documentTree.
|
Loading…
Reference in New Issue
Block a user