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

TypeError: (int) argument must be a string or a number, not 'list' #20521

Closed
github-userx opened this issue Apr 1, 2019 · 0 comments
Closed

TypeError: (int) argument must be a string or a number, not 'list' #20521

github-userx opened this issue Apr 1, 2019 · 0 comments
Labels

Comments

@github-userx
Copy link

@github-userx github-userx commented Apr 1, 2019

Using the latest version of youtube-dl on debian, installed via pip (python2.7).

I have given ytdl a .txt with URL's that are all working but it always gives me this error after having downloaded 90% of the URL's. If I remove the URL from the list where ytdl gave the error, next time the same error occurs but the download just stops at different URL.

[download] video-01 has already been recorded in archive
[PornHub] phXXXXXXXXXX: Downloading pc webpage
[download] video-02 has already been recorded in archive
[PornHub] phXXXXXXXXXX: Downloading pc webpage
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 472, in main
_real_main(argv)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 462, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2006, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 794, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/pornhub.py", line 225, in _real_extract
(video_url, int_or_none(definition.get('quality'))))
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1924, in int_or_none
return int(v) * invscale // scale
TypeError: int() argument must be a string or a number, not 'list'
USER@USER:~/Desktop/ $ 
@dstftw dstftw closed this Apr 1, 2019
@dstftw dstftw added the duplicate label Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.