about summary refs log tree commit diff
path: root/youtube_dl/extractor/rtve.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-04-23 18:28:49 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-05-10 14:51:38 +0800
commitdab0daeeb0929b9b560d2b9a5f39c1e2e6dfa449 (patch)
treeed4c6036aa4e509a9d46e9c184c819702fb4f5c5 /youtube_dl/extractor/rtve.py
parent4350b74545ea3d3ce072444655613bc6974d5516 (diff)
downloadyoutube-dl-dab0daeeb0929b9b560d2b9a5f39c1e2e6dfa449.tar.gz
youtube-dl-dab0daeeb0929b9b560d2b9a5f39c1e2e6dfa449.tar.xz
youtube-dl-dab0daeeb0929b9b560d2b9a5f39c1e2e6dfa449.zip
[utils,compat] Move struct_pack and struct_unpack to compat.py
Diffstat (limited to 'youtube_dl/extractor/rtve.py')
-rw-r--r--youtube_dl/extractor/rtve.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rtve.py b/youtube_dl/extractor/rtve.py
index 79af47715..f59040877 100644
--- a/youtube_dl/extractor/rtve.py
+++ b/youtube_dl/extractor/rtve.py
@@ -6,6 +6,9 @@ import re
 import time
 
 from .common import InfoExtractor
+from ..compat import (
+    struct_unpack,
+)
 from ..utils import (
     ExtractorError,
     float_or_none,
@@ -13,7 +16,6 @@ from ..utils import (
     remove_start,
     sanitized_Request,
     std_headers,
-    struct_unpack,
 )