[BUG] invalid literal for int() with base 10
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 593
- PR merge metrics
- No merged PRs in 30d
Description
**问题描述(Question description)**
提交issue前,请先检查是否是最新的代码、环境是否符合要求、依赖是否安装完整
请尽可能填写完整以下信息,方便排查问题,填写不完整可能不会受理
解决问题后请关闭issue,谢谢
- 搜索的关键字(Keyword):
- 出错的音乐源(Music source):`NETEASE #112781`
- 使用的命令(Command used):`music-dl -u https://music.163.com/#/song?id=112781`
**使用的环境(Environment)**
- 安装方式(Installation method):pip
- music-dl版本(music-dl version):3.0.1
- 操作系统版本(OS version):Windows 10
- Python版本(Python version):3.8.8
**截图**
使用`-v`参数运行,截取完整错误信息
Run with the `-v` parameter to get the full error message
**修改建议**
Contributor guide
No contributing guide indexed for this repository
Research direction
The error 'invalid literal for int() with base 10' suggests a string-to-integer conversion failure. Look at the code handling the NETEASE source and the song ID '112781'. Start by tracing the command-line parsing and the URL processing for the given music source. Check where the ID is extracted and converted to an integer, and see if there are any non-numeric characters. Run the command with -v to see the full traceback and locate the exact line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100