Skip to content

Commit

Permalink
GET
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkf committed Mar 1, 2023
1 parent faa3e8b commit b076402
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions youtube_dl/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'test': False,
},
},
]
]
_formats = {
'5': {'ext': 'flv', 'width': 400, 'height': 240, 'acodec': 'mp3', 'abr': 64, 'vcodec': 'h263'},
'6': {'ext': 'flv', 'width': 450, 'height': 270, 'acodec': 'mp3', 'abr': 64, 'vcodec': 'h263'},
Expand Down Expand Up @@ -2068,7 +2068,6 @@ def feed_entry(name):
CHUNK_SIZE = 10 << 20
# avoid Youtube throttling
dct.update({
'request_data': 'x',
'protocol': 'http_dash_segments',
'fragments': [{
'url': update_url_query(dct['url'], {
Expand Down

3 comments on commit b076402

@tansy
Copy link

@tansy tansy commented on b076402 Mar 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity - why did you add a space in line 1365? Python is indent sensitive so there is a reason.

And, I've been told this is remedy for slow audio download, and that it won't work in python 2.7?, is that correct?

@dirkf
Copy link
Owner Author

@dirkf dirkf commented on b076402 Mar 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was wrong before. We'll find out, but see the new commit.

@tansy
Copy link

@tansy tansy commented on b076402 Mar 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get which question did you answer and what commit do you mean. This one: b0b53e8?

Please sign in to comment.