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

could not download videos from spesific youtube channel #11162

Closed
kaveinthran opened this issue Nov 11, 2016 · 13 comments
Closed

could not download videos from spesific youtube channel #11162

kaveinthran opened this issue Nov 11, 2016 · 13 comments

Comments

@kaveinthran
Copy link

@kaveinthran kaveinthran commented Nov 11, 2016

hi,I am kaveinthran from Malaysia, and a blind computer user. Thanks for your software, this command line utility helps me a lot.

I am using youtube DL for windows, and had tried to download all videos from the tEDX channel https://www.youtube.com/user/TEDxTalks

after initiating the download, youtube dl scrolled the channel until pg86, and it stopped there for a moment. next, return an error saying the surver never responded.

downloading from other channel works perfectly.

hope possible update can resolve this,

thanks

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 11, 2016

return an error saying the surver never responded.

Sounds an temporary issue. If the problem persists, --download-archive and --ignore-errors are useful in such a case.

@yan12125 yan12125 closed this Nov 11, 2016
@kaveinthran
Copy link
Author

@kaveinthran kaveinthran commented Nov 11, 2016

I've tried again, and after 1 minute, it returns the following
ERROR: Unable to download JSON metadata: <urlopen error [WinError
10060] A connection attempt failed because the connected party did not
properly respond after
a period of time, or established connection failed because connected
host has failed to respond> (caused by URLError(TimeoutError(10060, 'A
connection attempt failed because the connected party did not properly
respond after a period of tim
e, or established connection failed because connected host has failed
to respond

On 11/11/16, Yen Chi Hsuan notifications@github.com wrote:

return an error saying the surver never responded.

Sounds an temporary issue. If the problem persists, --download-archive
and --ignore-errors are useful in such a case.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#11162 (comment)

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 11, 2016

In general TimeoutError are caused by unstable networks. Can you watch TED talks without any halting?

@kaveinthran
Copy link
Author

@kaveinthran kaveinthran commented Nov 11, 2016

BUT, OTHER VIDEOS FROM OTHER CHANNELS ARE DOWNLOADING JUST FINE WITH
GOOD KBPS, SHOULD THERE BE PROBLEMS WITH THE LOADS OF videos in that
TEDX chanel, as the client just scrolling the page, the output will be
like, downloading page1, page 11, page 22, page33, etc.

On 11/11/16, Yen Chi Hsuan notifications@github.com wrote:

In general TimeoutError are caused by unstable networks. Can you watch TED
talks without any halting?

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#11162 (comment)

@kaveinthran
Copy link
Author

@kaveinthran kaveinthran commented Nov 11, 2016

if you want, I can give you the log, after initiation of the download,
what is the command to generate log?

On 11/11/16, Kavein Thran kaveinthran@gmail.com wrote:

BUT, OTHER VIDEOS FROM OTHER CHANNELS ARE DOWNLOADING JUST FINE WITH
GOOD KBPS, SHOULD THERE BE PROBLEMS WITH THE LOADS OF videos in that
TEDX chanel, as the client just scrolling the page, the output will be
like, downloading page1, page 11, page 22, page33, etc.

On 11/11/16, Yen Chi Hsuan notifications@github.com wrote:

In general TimeoutError are caused by unstable networks. Can you watch
TED
talks without any halting?

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#11162 (comment)

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 11, 2016

TED's channel are no different than other channels. I'm not sure why either.

This command can be used to generate logs: youtube-dl -v https://www.youtube.com/user/TEDxTalks

@kaveinthran
Copy link
Author

@kaveinthran kaveinthran commented Nov 11, 2016

had tried to generate log, but can't find it in my directory, a good
news is this time, it went until dowloding page 190 , and after
sometime,again, the json download error is back.

On 11/11/16, Yen Chi Hsuan notifications@github.com wrote:

TED's channel are no different than other channels. I'm not sure why
either.

This command can be used to generate logs: youtube-dl -v https://www.youtube.com/user/TEDxTalks

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#11162 (comment)

@kaveinthran
Copy link
Author

@kaveinthran kaveinthran commented Nov 11, 2016

hi,
now I had set the retries to "infinite" and there're python errors there,

ERROR: Unable to download JSON metadata: <urlopen error [WinError 10060] A conne
ction attempt failed because the connected party did not properly respond after
a period of time, or established connection failed because connected host has fa
iled to respond> (caused by URLError(TimeoutError(10060, 'A connection attempt f
ailed because the connected party did not properly respond after a period of tim
e, or established connection failed because connected host has failed
to respond ', None, 10060, None),)) File
"C:\Users\dst\AppData\Roaming\Build
archive\youtube-dl\rg3\tmpee_sdt7t\bu
tild\youtube_dl\extractor\common.py", line 404, in _request_webpage
cFile "C:\Users\dst\AppData\Roaming\Build
archive\youtube-dl\rg3\tmpee_sdt7t\bu aild\youtube_dl\YoutubeDL.py",
line 2001, in urlopen iFile
"C:\Python\Python34\lib\urllib\request.py", line 464, in open
File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
\File "C:\Python\Python34\lib\urllib\request.py", line 442, in
_call_chain
File "C:\Users\dst\AppData\Roaming\Build
archive\youtube-dl\rg3\tmpee_sdt7t\bu \ild\youtube_dl\utils.py", line
1036, in https_open
File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open p
o
cI:\TEDX>
d

On 11/11/16, Kavein Thran kaveinthran@gmail.com wrote:

had tried to generate log, but can't find it in my directory, a good
news is this time, it went until dowloding page 190 , and after
sometime,again, the json download error is back.

On 11/11/16, Yen Chi Hsuan notifications@github.com wrote:

TED's channel are no different than other channels. I'm not sure why
either.

This command can be used to generate logs: youtube-dl -v https://www.youtube.com/user/TEDxTalks

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#11162 (comment)

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 11, 2016

The output of that command should be enough for debugging, Could you paste them all?

And by the way, the following command may be useful:

youtube-dl -v --ignore-errors --download-archive TED-archive.txt https://www.youtube.com/user/TEDxTalks

Run it multiple times and you'll be able to download the whole channel sooner or later.

@kaveinthran
Copy link
Author

@kaveinthran kaveinthran commented Nov 11, 2016

your commands made it work,! theree're about 80 thousand videos in
that channel, it took just about 10 minutes even to just download all
the pages, is there any commands to filter my downloads, so that it
would only download spesific videos, say, english-language, or that
have spesific words? thanks for the assistance!

On 11/12/16, Yen Chi Hsuan notifications@github.com wrote:

The output of that command should be enough for debugging, Could you paste
them all?

And by the way, the following command may be useful:

youtube-dl -v --ignore-errors --download-archive TED-archive.txt
https://www.youtube.com/user/TEDxTalks

Run it multiple times and you'll be able to download the whole channel
sooner or later.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#11162 (comment)

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 11, 2016

is there any commands to filter my downloads, so that it would only download spesific videos, say, english-language, or that have spesific words?

For language: unforunately that's not possible yet as seems YouTube does not provide language information for a video. (only subtitles have such informatoin) If you know how to know the language of a video, please share it

that have spesific words?: that's not implemented yet, either. If you want it, feel free to open a new issue

@kaveinthran
Copy link
Author

@kaveinthran kaveinthran commented Nov 11, 2016

hi, sure, will open new issue regarding keyword filters, but for
language, I suppose we could analyse unicode character under a
filename,

On 11/12/16, Yen Chi Hsuan notifications@github.com wrote:

is there any commands to filter my downloads, so that it would only
download spesific videos, say, english-language, or that have spesific
words?

For language: unforunately that's not possible yet as seems YouTube does not
provide language information for a video. (only subtitles have such
informatoin) If you know how to know the language of a video, please share
it

that have spesific words?: that's not implemented yet, either. If you
want it, feel free to open a new issue

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#11162 (comment)

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 11, 2016

I suppose we could analyse unicode character under a filename

I doubt its accuracy :/

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.