MCPcopy Index your code
hub / github.com/geekcomputers/Python / reqest_pull

Method reqest_pull

insta_monitering/insta_datafetcher.py:204–217  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

202
203 @PorxyApplyingDecorator()
204 def reqest_pull(url):
205 print(url)
206 data = None
207 urllib3.disable_warnings()
208 user_agent = {"User-agent": "Mozilla/17.0"}
209 try:
210 data = requests.get(
211 url=url, headers=user_agent, timeout=24, verify=False
212 ).text
213 except Exception as err:
214 print(f"Exception : {err}")
215 data = None
216 finally:
217 return data
218
219 data = reqest_pull(self._url)
220 if data != None:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected