aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/bambuser.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:21:46 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:21:46 +0100
commitb74e86f48aa6d007b681e2723ff28fe82a49fa9d (patch)
tree660c068ab4ea4835c8311c974b029360d5350875 /youtube_dl/extractor/bambuser.py
parent3d36cea4aca303f6bde5b5453f4e3aeec8ee41e1 (diff)
Fix all PEP8 issues except E501
Diffstat (limited to 'youtube_dl/extractor/bambuser.py')
-rw-r--r--youtube_dl/extractor/bambuser.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/youtube_dl/extractor/bambuser.py b/youtube_dl/extractor/bambuser.py
index 928ea61a3..ea2ba0fe2 100644
--- a/youtube_dl/extractor/bambuser.py
+++ b/youtube_dl/extractor/bambuser.py
@@ -73,10 +73,11 @@ class BambuserChannelIE(InfoExtractor):
urls = []
last_id = ''
for i in itertools.count(1):
- req_url = ('http://bambuser.com/xhr-api/index.php?username={user}'
- '&sort=created&access_mode=0%2C1%2C2&limit={count}'
- '&method=broadcast&format=json&vid_older_than={last}'
- ).format(user=user, count=self._STEP, last=last_id)
+ req_url = (
+ 'http://bambuser.com/xhr-api/index.php?username={user}'
+ '&sort=created&access_mode=0%2C1%2C2&limit={count}'
+ '&method=broadcast&format=json&vid_older_than={last}'
+ ).format(user=user, count=self._STEP, last=last_id)
req = compat_urllib_request.Request(req_url)
# Without setting this header, we wouldn't get any result
req.add_header('Referer', 'http://bambuser.com/channel/%s' % user)