aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vine.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-14 15:37:17 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-14 15:37:17 +0600
commit611c1dd96efc36a788475e14cc4de64d554d28a0 (patch)
tree4ac501e07c6ab8281c22de2d0ec577561e32465c /youtube_dl/extractor/vine.py
parentd800609c62703e4e6edd2891a8432306462e4db3 (diff)
[refactor] Single quotes consistency
Diffstat (limited to 'youtube_dl/extractor/vine.py')
-rw-r--r--youtube_dl/extractor/vine.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/vine.py b/youtube_dl/extractor/vine.py
index cb2a4b0b5..a6a6cc479 100644
--- a/youtube_dl/extractor/vine.py
+++ b/youtube_dl/extractor/vine.py
@@ -119,7 +119,7 @@ class VineIE(InfoExtractor):
class VineUserIE(InfoExtractor):
IE_NAME = 'vine:user'
_VALID_URL = r'(?:https?://)?vine\.co/(?P<u>u/)?(?P<user>[^/]+)/?(\?.*)?$'
- _VINE_BASE_URL = "https://vine.co/"
+ _VINE_BASE_URL = 'https://vine.co/'
_TESTS = [
{
'url': 'https://vine.co/Visa',
@@ -139,7 +139,7 @@ class VineUserIE(InfoExtractor):
user = mobj.group('user')
u = mobj.group('u')
- profile_url = "%sapi/users/profiles/%s%s" % (
+ profile_url = '%sapi/users/profiles/%s%s' % (
self._VINE_BASE_URL, 'vanity/' if not u else '', user)
profile_data = self._download_json(
profile_url, user, note='Downloading user profile data')
@@ -147,7 +147,7 @@ class VineUserIE(InfoExtractor):
user_id = profile_data['data']['userId']
timeline_data = []
for pagenum in itertools.count(1):
- timeline_url = "%sapi/timelines/users/%s?page=%s&size=100" % (
+ timeline_url = '%sapi/timelines/users/%s?page=%s&size=100' % (
self._VINE_BASE_URL, user_id, pagenum)
timeline_page = self._download_json(
timeline_url, user, note='Downloading page %d' % pagenum)