def getcontent(self): cookie_text=r'ur=FTW; mid=WsrlLwAEAAEfpCstNyTJl-1oZa0w; ig_pr=1; ig_vh=949; csrftoken=aaaaaaa;ig_vw=186'#字符串格式 cookies = {} for cookie_unit_text in cookie_text.split('; '): cookie_unit = cookie_unit_text.split('=') if len(cookie…