jaysonlong / webvideo-downloader

Web video downloader for Bilibili, iQIYI, Tencent Video, MGTV and WeTV. 网站视频下载器,主要支持Bilibili、爱奇艺、腾讯视频、芒果TV、WeTV、愛奇藝台灣站。
1.1k stars 242 forks source link

source code string cannot contain null bytes #162

Open zhuxiaole opened 1 year ago

zhuxiaole commented 1 year ago

运行 python daemon.py,无法正常启动,日志如下 环境:win11 python3.7.7 powershell7.3.2

Traceback (most recent call last):
  File "daemon.py", line 5, in <module>
    from dispatcher import TaskDispatcher
  File "H:\Projects\webvideo-downloader\downloader\dispatcher.py", line 4, in <module>
    import config
  File "H:\Projects\webvideo-downloader\downloader\config.py", line 2, in <module>
    import tools
  File "H:\Projects\webvideo-downloader\downloader\tools\__init__.py", line 4, in <module>
    from .webserver import *
  File "H:\Projects\webvideo-downloader\downloader\tools\webserver.py", line 7, in <module>
    from http.server import BaseHTTPRequestHandler
ValueError: source code string cannot contain null bytes

作者大大,请问这种情况应该如何处理?