diff options
-rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ while True: proc = subprocess.Popen(['mpv', '--no-video', '--no-input-terminal', '--slang=zh-CN', url + cur]) # The try finally block is to ensure that proc gets killed no matter what try: - # I could use requests... + # I could use the Python requests library... # Nope, external dependencies suck, so enjoy this abomination body = gzip.decompress(urllib.request.urlopen(url + cur).read()).decode('utf-8') # Sometimes I forget what I'm even listening to |