Check-in [bd2ee4de96]
Overview
Comment: | Alias urllib*.unquote as urldecode() |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
bd2ee4de960240f19aaa2ba36d851e2f |
User & Date: | mario on 2015-04-21 22:01:01 |
Other Links: | manifest | tags |
Context
2015-04-21
| ||
22:04 | Major rewrite of playlist_extract handler. Now retains url and titles for playlist types that contain it. Still provides simpler urls() wrapper for old action.play/convert/interpol usage. Move probe_* functions into playlist_extract class as well. Introduce basic playlist_fmt_prio list for supported formats. (Too many regexps to probe for allowed file extensions, etc.) Add support for .url and .desktop files (import only.) check-in: f18b5c461f user: mario tags: trunk | |
22:01 | Alias urllib*.unquote as urldecode() check-in: bd2ee4de96 user: mario tags: trunk | |
22:00 | Fix missing .module property for add_plugin_defaults. check-in: 266321da13 user: mario tags: trunk | |
Changes
Modified compat2and3.py from [e41c080b1a] to [a5ff95196b].
︙ | ︙ | |||
22 23 24 25 26 27 28 | xrange = xrange range = xrange unicode = unicode # urllib modules import urllib import urllib2 | | | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | xrange = xrange range = xrange unicode = unicode # urllib modules import urllib import urllib2 from urllib import urlencode, unquote as urldecode import urlparse import cookielib # filesys from StringIO import StringIO from gzip import GzipFile def gzip_decode(bytes): |
︙ | ︙ | |||
48 49 50 51 52 53 54 | # basic functions xrange = range unicode = str # urllib modules import urllib.request as urllib import urllib.request as urllib2 | | | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | # basic functions xrange = range unicode = str # urllib modules import urllib.request as urllib import urllib.request as urllib2 from urllib.parse import urlencode, unquote as urldecode import urllib.parse as urlparse from http import cookiejar as cookielib # filesys from io import StringIO from gzip import decompress as gzip_decode |
︙ | ︙ |