test
This commit is contained in:
parent
3a529b42da
commit
e3abe87b83
@ -24,8 +24,8 @@ 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.read()
|
image_file = self.fhdhr.web.session.get(image_url).content
|
||||||
image_text = base64.b64encode(image_file.read())
|
image_text = base64.b64encode(image_file)
|
||||||
print(image_text)
|
print(image_text)
|
||||||
|
|
||||||
channel_list = []
|
channel_list = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user