(self,url,headers={},cookies="")
| 50 | clean = re.sub('[\U0001F600-\U0001F64F\U0001F300-\U0001F5FF\U0001F680-\U0001F6FF\U0001F1E0-\U0001F1FF]', '', src) |
| 51 | return clean |
| 52 | def fetch(self,url,headers={},cookies=""): |
| 53 | rsp = requests.get(url,headers=headers,cookies=cookies) |
| 54 | rsp.encoding='utf-8' |
| 55 | return rsp |
| 56 | def post(self,url,data,headers={},cookies={}): |
| 57 | rsp = requests.post(url,data=data,headers=headers,cookies=cookies) |
| 58 | rsp.encoding='utf-8' |
no outgoing calls
no test coverage detected