return
# At this point we have a new video
- if self._downloader is not None:
- self._downloader.increment_downloads()
+ self._downloader.increment_downloads()
simple_title = mobj.group(2).decode('utf-8')
video_extension = 'flv'
return
# At this point we have a new video
- if self._downloader is not None:
- self._downloader.increment_downloads()
+ self._downloader.increment_downloads()
video_id = mobj.group(1)
simple_title = mobj.group(2).decode('utf-8')
return
# At this point we have a new video
- if self._downloader is not None:
- self._downloader.increment_downloads()
+ self._downloader.increment_downloads()
video_id = mobj.group(1)
video_extension = 'mp4'
return
# At this point we have a new video
- if self._downloader is not None:
- self._downloader.increment_downloads()
+ self._downloader.increment_downloads()
video_id = mobj.group(1)
video_extension = 'flv'
return
# At this point we have a new video
- if self._downloader is not None and new_video:
- self._downloader.increment_downloads()
+ self._downloader.increment_downloads()
video_id = mobj.group(2)
video_extension = 'flv'
def _real_extract(self, url):
# At this point we have a new video
- if self._downloader is not None:
- self._downloader.increment_downloads()
+ self._downloader.increment_downloads()
video_id = url.split('/')[-1]
request = urllib2.Request(url)