best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
api/xiaohongshu: clean up the h265-h264 if statement
wukko7488c74fafb9
diff --git a/api/src/processing/services/xiaohongshu.js b/api/src/processing/services/xiaohongshu.jsindex 45d7acc5..bbb53ab1 100644--- a/api/src/processing/services/xiaohongshu.js+++ b/api/src/processing/services/xiaohongshu.js@@ -71,9 +71,7 @@ export default async function ({ id, token, shareId, h265, isAudioOnly, dispatchif (h265 && !isAudioOnly && video.consumer?.originVideoKey) {videoURL = `https://sns-video-bd.xhscdn.com/${video.consumer.originVideoKey}`;- }-- if (!videoURL) {+ } else {const h264Streams = video.media?.stream?.h264;if (h264Streams?.length) {