Skip to content

Commit

Permalink
Update douyu_request.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fletcherjiang authored Feb 17, 2023
1 parent 859cbaa commit bb9ac6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/douyu_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class DYHTTPRequests:

def __init__(self):
cookie_str = get_secrets('COOKIES')
self.cookie = cookie_str.encode("utf-8").decode("latin1")
self.cookie = cookie_str.decode("latin1")

self.session = session()
self.header = {
Expand Down

0 comments on commit bb9ac6b

Please sign in to comment.