Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # the modern version for a modern world
- def getSomeRawData_2(iRawData, guid, sortOrder):
- print "uasjsjakd"
- posts = iRawData.getOrderedPosts(guid, startTime=START_TIME, stopTime=STOP_TIME, sortOrder = sortOrder)
- allPostsList = list()
- postsToReturn = list()
- # fill list with 600 posts or all the posts if total posts of guid < 600
- for _ in range(600):
- try:
- post = posts.next()
- allPostsList.append(post)
- #allPostsList.append(posts.next())
- except StopIteration:
- break
- if len(allPostsList) == 0:
- return []
- # get starhttps://pastebin.com/UsZ2Lt5P
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement