Loco-CTO / Rystal-V6-Experiments

Insecure lxml import detected BAN-B410
Security
Minor
2 months ago2 months old
Using html to parse untrusted XML data is known to be vulnerable to XML attacks. Replace html with the equivalent defusedxml package.
 24import json
 25
 26import requests
 27from lxml import html 28
 29
 30def treatContents(videoIds, contents):