Browse Source

Formalize URL creation (prepare for some cleanup in blip.tv:users)

rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
450e709972
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      youtube_dl/InfoExtractors.py

+ 2
- 3
youtube_dl/InfoExtractors.py View File

@ -1921,9 +1921,8 @@ class BlipTVUserIE(InfoExtractor):
while True:
self.report_download_page(username, pagenum)
request = compat_urllib_request.Request( page_base + "&page=" + str(pagenum) )
url = page_base + "&page=" + str(pagenum)
request = compat_urllib_request.Request( url )
try:
page = compat_urllib_request.urlopen(request).read().decode('utf-8')
except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err:


Loading…
Cancel
Save