Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好,我遇到了一个 ValueError 的问题 #2918

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

FL77N
Copy link

@FL77N FL77N commented Sep 8, 2021

Traceback (most recent call last):
File "/usr/local/bin/you-get", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/you_get/main.py", line 92, in main
main(**kwargs)
File "/usr/local/lib/python3.7/dist-packages/you_get/common.py", line 1831, in main
script_main(any_download, any_download_playlist, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/you_get/common.py", line 1719, in script_main
**extra
File "/usr/local/lib/python3.7/dist-packages/you_get/common.py", line 1345, in download_main
download(url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/you_get/common.py", line 1822, in any_download
m.download(url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/you_get/extractor.py", line 61, in download_by_url
self.download(**kwargs)
File "/usr/local/lib/python3.7/dist-packages/you_get/extractor.py", line 241, in download
av=stream_id in self.dash_streams)
File "/usr/local/lib/python3.7/dist-packages/you_get/common.py", line 1015, in download_urls
bar.update()
File "/usr/local/lib/python3.7/dist-packages/you_get/common.py", line 845, in update
self.current_piece, self.total_pieces, self.speed
ValueError: Sign not allowed in string format specifier

@soimort-bot
Copy link
Collaborator

Hello @FL77N,
Thanks for the Pull Request. We ❤️ our contributors!
Please wait for one of our human maintainers to review your patches. This may take a few days to weeks. Also, please understand that although your Pull Request may or may not be eventually merged, we value all contributions equally.

祝您健康!

@ljhcage
Copy link
Contributor

ljhcage commented Sep 8, 2021

具体是执行什么指令时遇到的?

@FL77N
Copy link
Author

FL77N commented Sep 8, 2021

具体是执行什么指令时遇到的?
下不了,然后用 debug 发现的
!you-get --itag=137 --debug "https://www.youtube.com/watch?v=FFoNw-dYQf0&list=RDFFoNw-dYQf0&start_radio=1&rv=FFoNw-dYQf0&t=2"

@5258
Copy link

5258 commented Sep 8, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants