MCPcopy Index your code
hub / github.com/SnailDev/github-hot-hub / get_trending_developer

Method get_trending_developer

github.py:90–102  ·  view source on GitHub ↗

热门话题

(self)

Source from the content-addressed store, hash-verified

88 return (items, resp)
89
90 def get_trending_developer(self):
91 """热门话题
92 """
93 items = []
94 resp = None
95 try:
96 with request_session() as s:
97 resp = s.get(TRENDING_DEVELOPER_URL)
98 soup = BeautifulSoup(resp.text)
99 except:
100 logger.exception('get trending developer failed')
101
102 return (items, resp)
103
104
105if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

request_sessionFunction · 0.85

Tested by

no test coverage detected