Nuaalzy
Results
1
comments of
Nuaalzy
get的css样式默认背景为灰色,是网页的默认背景颜色,将get到的css样式中的background-color替换为#FFFFFF即可。 const tmp_css = await getCssTextFromUrls(cssUrls) const css = tmp_css.replace('3C3939', 'FFFFFF'); https://github.com/rmlzy/export-jd-read/blob/f3a55c46168c093c163255effb095e5531c2aea8/src/util.js#L232