Skip to content

Commit

Permalink
Merge pull request #179 from sparkcyf/2.0
Browse files Browse the repository at this point in the history
Add acceptance of xml
  • Loading branch information
Quan authored Sep 6, 2021
2 parents 8033261 + 614a627 commit 9584803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/ELF_RSS2/RSS/rss_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# 去掉烦人的 returning true from eof_received() has no effect when using ssl httpx 警告
asyncio.log.logger.setLevel(40)
HEADERS = {
"Accept": "*/*",
"Accept": "application/xhtml+xml,application/xml,*/*",
"Accept-Language": "en-US,en;q=0.9",
"Cache-Control": "max-age=0",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36",
Expand Down

0 comments on commit 9584803

Please sign in to comment.