mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix encoding
This commit is contained in:
@@ -732,7 +732,7 @@ class TorrentSpider:
|
|||||||
try:
|
try:
|
||||||
# 解析站点文本对象
|
# 解析站点文本对象
|
||||||
if self.encoding:
|
if self.encoding:
|
||||||
html_doc = PyQuery(html_text.encode('utf-8'))
|
html_doc = PyQuery(html_text.encode(self.encoding))
|
||||||
else:
|
else:
|
||||||
html_doc = PyQuery(html_text)
|
html_doc = PyQuery(html_text)
|
||||||
# 种子筛选器
|
# 种子筛选器
|
||||||
|
|||||||
Reference in New Issue
Block a user