mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-11 23:59:56 +08:00
feat(core): anti-hotlink experimental parameters (#9997)
Co-authored-by: Rongrong <i@rong.moe>
This commit is contained in:
@@ -287,7 +287,7 @@ describe('multimedia_description', () => {
|
||||
const parsed = await parser.parseString(response.text);
|
||||
expect(parsed.items[0].content).toBe(`<img src="https://mock.com/DIYgod/RSSHub.jpg" referrerpolicy="no-referrer">
|
||||
<video src="https://mock.com/DIYgod/RSSHub.mp4"></video>
|
||||
<video src="https://mock.com/DIYgod/undefined">
|
||||
<video poster="https://mock.com/DIYgod/RSSHub.jpg">
|
||||
<source src="https://mock.com/DIYgod/RSSHub.mp4" type="video/mp4">
|
||||
<source src="https://mock.com/DIYgod/RSSHub.webm" type="video/webm">
|
||||
</video>
|
||||
|
||||
Reference in New Issue
Block a user