projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b015cb1
)
[afreecatv] Update referrer (closes #15947)
author
Sergey M․
<dstftw@gmail.com>
Sat, 24 Mar 2018 07:21:08 +0000
(14:21 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 24 Mar 2018 07:21:08 +0000
(14:21 +0700)
youtube_dl/extractor/afreecatv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/afreecatv.py
b/youtube_dl/extractor/afreecatv.py
index df2a3fc4a2a24d2feeb81083d2414d8dc09b682b..0f45358042bd4dbe1b2c768169c20ee01c51f539 100644
(file)
--- a/
youtube_dl/extractor/afreecatv.py
+++ b/
youtube_dl/extractor/afreecatv.py
@@
-187,11
+187,11
@@
class AfreecaTVIE(InfoExtractor):
r'nBbsNo\s*=\s*(\d+)', webpage, 'bbs')
video_id = self._search_regex(
r'nTitleNo\s*=\s*(\d+)', webpage, 'title', default=video_id)
-
+ print(video_id, station_id, bbs_id)
video_xml = self._download_xml(
'http://afbbs.afreecatv.com:8080/api/video/get_video_info.php',
video_id, headers={
- 'Referer':
'http://vod.afreecatv.com/embed.php'
,
+ 'Referer':
url
,
}, query={
'nTitleNo': video_id,
'nStationNo': station_id,