projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'Phaeilo-presstv'
[youtube-dl]
/
youtube_dl
/
extractor
/
nba.py
diff --git
a/youtube_dl/extractor/nba.py
b/youtube_dl/extractor/nba.py
index 3e2b3e59945f4a67275ca6bc9d3c9193f531506c..d896b0d04810655c1d7c993819b88e7b32029832 100644
(file)
--- a/
youtube_dl/extractor/nba.py
+++ b/
youtube_dl/extractor/nba.py
@@
-6,7
+6,7
@@
import re
from .common import InfoExtractor
from ..compat import (
from .common import InfoExtractor
from ..compat import (
- compat_urllib_parse,
+ compat_urllib_parse
_urlencode
,
compat_urlparse,
)
from ..utils import (
compat_urlparse,
)
from ..utils import (
@@
-97,7
+97,7
@@
class NBAIE(InfoExtractor):
_PAGE_SIZE = 30
def _fetch_page(self, team, video_id, page):
_PAGE_SIZE = 30
def _fetch_page(self, team, video_id, page):
- search_url = 'http://searchapp2.nba.com/nba-search/query.jsp?' + compat_urllib_parse
.
urlencode({
+ search_url = 'http://searchapp2.nba.com/nba-search/query.jsp?' + compat_urllib_parse
_
urlencode({
'type': 'teamvideo',
'start': page * self._PAGE_SIZE + 1,
'npp': (page + 1) * self._PAGE_SIZE + 1,
'type': 'teamvideo',
'start': page * self._PAGE_SIZE + 1,
'npp': (page + 1) * self._PAGE_SIZE + 1,