mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-11-01 09:26:45 -07:00 
			
		
		
		
	PEP8: applied even more rules
This commit is contained in:
		@@ -38,7 +38,7 @@ class BambuserIE(InfoExtractor):
 | 
			
		||||
        mobj = re.match(self._VALID_URL, url)
 | 
			
		||||
        video_id = mobj.group('id')
 | 
			
		||||
        info_url = ('http://player-c.api.bambuser.com/getVideo.json?'
 | 
			
		||||
            '&api_key=%s&vid=%s' % (self._API_KEY, video_id))
 | 
			
		||||
                    '&api_key=%s&vid=%s' % (self._API_KEY, video_id))
 | 
			
		||||
        info_json = self._download_webpage(info_url, video_id)
 | 
			
		||||
        info = json.loads(info_json)['result']
 | 
			
		||||
 | 
			
		||||
@@ -74,8 +74,8 @@ class BambuserChannelIE(InfoExtractor):
 | 
			
		||||
        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}'
 | 
			
		||||
                       '&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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user