MCPcopy Create free account
hub / github.com/LumingMelody/JS_reverse / requestTW

Function requestTW

twitter.py:137–142  ·  view source on GitHub ↗
(user_rest_id, username, cursor=None)

Source from the content-addressed store, hash-verified

135
136
137def requestTW(user_rest_id, username, cursor=None):
138 get_guess_url = twg.get_url(userId=user_rest_id, cursor=cursor)
139 get_guess_headers = twg.get_headers(username=username)
140 guess_response = requests.get(url=get_guess_url, headers=get_guess_headers, verify=False, proxies=proxies).json()
141 cursor = parse_response(guess_response)
142 return cursor
143
144
145def parse_response(twitter_content):

Callers 1

twitter.pyFile · 0.85

Calls 3

parse_responseFunction · 0.85
get_headersMethod · 0.80
get_urlMethod · 0.45

Tested by

no test coverage detected