iawia002 / lux

👾 Fast and simple video download library and CLI tool written in Go
MIT License
27.68k stars 2.99k forks source link

西瓜视频下载失败 #1357

Open Holmes-pengge opened 6 months ago

Holmes-pengge commented 6 months ago

Website name: 西瓜视频

OS:: Linux

Video URL:: 'https://www.ixigua.com/6996881461559165471'

Stack overflow


 Site:      西瓜视频 ixigua.com
 Title:     盲目涉水风险大,亲身示范高水位行车注意事项
 Type:      video
 Stream:
     [4k]  -------------------
     Quality:         4k
     Size:            1923.27 MiB (2016693754 Bytes)
     # download with: lux -f 4k ...

0 B / 1.88 GiB [-------------------------------------------------------------------------------------------------------------------------------------------------] ? p/s 0.00% ?Downloading https://www.ixigua.com/6996881461559165471 error:
parse "~\x00w\xe6\xa5;\xec\x12b\xa4\xd0\xffʹ\f\xb7w\xa4\xe4\xc3\xc2q\xa7\r\xdd\xce/\xc6\xf0i\xf6\x10\x11\xe6J+2\x86\r\x9eGQ\x8d\x86\x89\v\xcd\as\x96\xe2+\x00\b": net/url: invalid control character in URL
github.com/iawia002/lux/request.Request
        /home/runner/work/lux/lux/request/request.go:70
github.com/iawia002/lux/downloader.(*Downloader).writeFile
        /home/runner/work/lux/lux/downloader/downloader.go:110
github.com/iawia002/lux/downloader.(*Downloader).save
        /home/runner/work/lux/lux/downloader/downloader.go:194
github.com/iawia002/lux/downloader.(*Downloader).Download
        /home/runner/work/lux/lux/downloader/downloader.go:641
github.com/iawia002/lux/app.download
        /home/runner/work/lux/lux/app/app.go:331
github.com/iawia002/lux/app.New.func1
        /home/runner/work/lux/lux/app/app.go:252
github.com/urfave/cli/v2.(*App).RunContext
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:322
github.com/urfave/cli/v2.(*App).Run
        /home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.6.0/app.go:224
main.main
        /home/runner/work/lux/lux/main.go:13
runtime.main
        /opt/hostedtoolcache/go/1.22.2/x64/src/runtime/proc.go:271
runtime.goexit
        /opt/hostedtoolcache/go/1.22.2/x64/src/runtime/asm_amd64.s:1695

Screenshots

image

Additional context

none

Holmes-pengge commented 5 months ago

Does anyone have solved this problem, can you provide me with a little idea?