logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 9c30efeb7edcdd3b8d20c3abfc4905d55e300f0e
parent 39fa4cc10775d2d2b8a49d2268b11e34f32b3d2c
Author: Sergey M <dstftw@gmail.com>
Date:   Tue,  8 Dec 2015 22:54:14 +0600

Merge pull request #7792 from jindaxia/fix_sohu_403forbidden

[sohu] Fix 403 forbidden

Diffstat:

Myoutube_dl/extractor/sohu.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/sohu.py b/youtube_dl/extractor/sohu.py @@ -158,6 +158,7 @@ class SohuIE(InfoExtractor): 'file': clips_url[i], 'new': su[i], 'prod': 'flash', + 'rb': 1, } if cdnId is not None: