test
This commit is contained in:
parent
7f10f45cda
commit
3a529b42da
@ -24,7 +24,7 @@ class OriginChannels():
|
|||||||
stirr_chan_list = chan_list_urlopn.json()
|
stirr_chan_list = chan_list_urlopn.json()
|
||||||
|
|
||||||
image_url = stirr_chan_list["channel"][0]["icon"]["src"].split("?")[0]
|
image_url = stirr_chan_list["channel"][0]["icon"]["src"].split("?")[0]
|
||||||
image_file = self.fhdhr.web.session.get(image_url).content
|
image_file = self.fhdhr.web.session.get(image_url).content.read()
|
||||||
image_text = base64.b64encode(image_file.read())
|
image_text = base64.b64encode(image_file.read())
|
||||||
print(image_text)
|
print(image_text)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user