Skip to content

Commit

Permalink
fix: remove watermark
Browse files Browse the repository at this point in the history
  • Loading branch information
okdargy committed Mar 15, 2024
1 parent 5cea1cd commit ed79502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/pages/VideoResponse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function VideoResponse(data: AwemeList): JSX.Element {
let videoUrl = 'https://fxtiktok-rewrite.dargy.workers.dev/generate/video/' + data.aweme_id

if(data.video.duration > 0) {
const awemeVideo = data.video.download_addr.url_list.find((url) => url.includes('/aweme/v1/play'))
const awemeVideo = data.video.bit_rate[0].play_addr.url_list.find((url) => url.includes('/aweme/v1/play'))

if (awemeVideo) {
const url = new URL(awemeVideo)
Expand Down

0 comments on commit ed79502

Please sign in to comment.