haaag / pytwitch Goto Github PK
View Code? Open in Web Editor NEWA user-friendly tool for easily accessing and watching live streams, videos, and clips from Twitch.
License: MIT License
A user-friendly tool for easily accessing and watching live streams, videos, and clips from Twitch.
License: MIT License
I fallowed the installing instructions as described and getting error for some reason;
pytwitch
Traceback (most recent call last):
File "/home/ahmet/packages/pytwitch/.venv/bin/pytwitch", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/__main__.py", line 25, in main
twitch = setup.twitch(prompt, menu, args.player, args.no_markup)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/setup.py", line 165, in twitch
api = TwitchApi()
^^^^^^^^^^^
File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/api.py", line 261, in __init__
super().__init__()
File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/api.py", line 76, in __init__
self.load_client()
File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/twitch/api.py", line 89, in load_client
self.client = httpx.Client(headers=self._get_request_headers())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/httpx/_client.py", line 653, in __init__
super().__init__(
File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/httpx/_client.py", line 183, in __init__
self.headers = Headers(headers)
^^^^^^^^^^^^^^^^
File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/httpx/_models.py", line 75, in __init__
normalize_header_value(v, encoding),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ahmet/packages/pytwitch/.venv/lib/python3.12/site-packages/httpx/_utils.py", line 55, in normalize_header_value
return value.encode(encoding or "ascii")
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'encode'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.