aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/utils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [utils] Remove unused importPhilipp Hagemeister2014-11-051-1/+0
|
* [utils] Use a regexp instead of HTMLParser for get_element_by_attributePhilipp Hagemeister2014-11-041-105/+16
|
* [utils] Remove unused get_meta_content functionPhilipp Hagemeister2014-11-041-10/+2
|
* Do not override stdlib html parser 'locatestarttagend' regex (fixes #4081)Jaime Marquínez Ferrándiz2014-11-021-1/+3
| | | | | '<a href="foo" ><img src="bar" / ></a>' wouldn't be parsed right (the problem is '/ >', '/>' worked fine). We need to change it in python 2.6 (for example the description of youtube videos wouldn't be extracted).
* [utils] ModernizePhilipp Hagemeister2014-11-021-1/+3
|
* [compat] Fix importsPhilipp Hagemeister2014-11-021-1/+0
|
* [util] Move compatibility functions out of utilPhilipp Hagemeister2014-11-021-277/+13
| | | | | | | utils is large enough without these compatibility functions. Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py . Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
* [ffmpeg] Move version detection to utilsPhilipp Hagemeister2014-11-021-0/+19
|
* [drtv] Allow fractional timestamps (Fixes #4059)Philipp Hagemeister2014-10-291-2/+2
|
* [ffmpeg] Warn if ffmpeg/avconv version is too old (Fixes #4026)Philipp Hagemeister2014-10-261-0/+13
|
* Merge branch 'compat-getenv-and-expanduser' of ↵Sergey M․2014-10-261-4/+83
|\ | | | | | | | | | | | | | | https://github.com/dstftw/youtube-dl into dstftw-compat-getenv-and-expanduser Conflicts: test/test_utils.py youtube_dl/__init__.py
| * [utils] Add posix expanduser implementation and clarify the original sourceSergey M․2014-10-011-27/+61
| |
| * [core] Decode environment variables with filesystem encoding (Fixes #3854, ↵Sergey M․2014-09-301-4/+49
| | | | | | | | | | | | Fixes #3217, Fixes #2918) Introduces compat versions of os.getenv and os.path.expanduser
* | [utils] Add additional format to unified_strdateNaglis Jonaitis2014-10-041-0/+1
| |
* | [utils] Default age_limit to NonePhilipp Hagemeister2014-10-031-2/+2
| | | | | | | | If we can't parse it, it means we don't have any information, not that the content is unrestricted.
* | [utils] Add parse_age_limitSergey M․2014-10-031-0/+7
| |
* | [utils] Improve and test js_to_jsonPhilipp Hagemeister2014-10-011-21/+16
| |
* | [utils] Fix js_to_jsonPhilipp Hagemeister2014-10-011-1/+5
|/
* [arte] Fix upload date extractionPhilipp Hagemeister2014-09-291-0/+1
|
* [utils:YoutubeDLHandler] Work around brain-dead Python 2.6 httplibPhilipp Hagemeister2014-09-291-0/+6
| | | | In 2.6, the httplib sends fragments! Remove those (fixes generic_26 on 2.6).
* [vimeo:likes] Support large like lists (Fixes #3847)Philipp Hagemeister2014-09-291-4/+35
|
* Merge remote-tracking branch 'dstftw/escape-non-ascii-in-urls'Philipp Hagemeister2014-09-151-0/+18
|\ | | | | | | | | Conflicts: test/test_utils.py
| * [utils] Remove debug garbageSergey M․2014-09-131-1/+1
| |
| * [YoutubeDL/utils] Clarify rationale for URL escaping in comment, move escape ↵Sergey M․2014-09-131-0/+18
| | | | | | | | routines to utils and add some tests
* | [facebook] Fix support for untitled videos (Fixes #3757)Philipp Hagemeister2014-09-151-0/+10
| |
* | [utils] Apply 2.6 xpath crazinessPhilipp Hagemeister2014-09-131-0/+3
| | | | | | | | This fixes ARD on 2.6
* | [ard] Make more robust against missing thumbnailsPhilipp Hagemeister2014-09-131-0/+11
| | | | | | | | I cannot reproduce this error, it's from travis.
* | [utils] Fix find_xpath_attr on 2.6Philipp Hagemeister2014-09-131-0/+5
|/
* [utils] Default SSL to TLS. (Fixes #3727)Philipp Hagemeister2014-09-121-3/+9
| | | | | | | On 2.x, we now try TLS first, and fall back to the compat 23 (basically anything) afterwards. On 3.4+, we now use the proper function so that we get all the latest security configurations. We allow SSLv3 though for the time being, since a lot of older pages use that. On 3.3, we default to SSLv23 (basically "anything, including TLS") because that has the widest compatibility.
* [youtube] Move cache into its own modulePhilipp Hagemeister2014-09-031-6/+0
|
* [utils] Make parse_duration case insensitiveSergey M․2014-09-031-1/+1
|
* [tvigle] Adapt to the new APISergey M․2014-09-031-1/+1
|
* [utils] Use flock instead of lockf (Fixes #3621)Philipp Hagemeister2014-09-011-2/+2
|
* [eporner] Simplify and correct (#3629)Philipp Hagemeister2014-08-311-0/+1
|
* [utils] Improve parse_durationSergey M․2014-08-311-1/+3
|
* [utils] Modernize testsPhilipp Hagemeister2014-08-271-26/+22
|
* [utils] Let request headers override standard headersPhilipp Hagemeister2014-08-261-4/+3
| | | | What was I thinking when writing this?
* [generic] Fix rss under Python 2.x and move test to extractorPhilipp Hagemeister2014-08-251-1/+14
|
* [rtlnl] Extract durationPhilipp Hagemeister2014-08-251-1/+3
|
* [execafterdownload] Simplify (#3569)Philipp Hagemeister2014-08-251-0/+7
|
* [expotv] Add new extractor (Fixes #3552)Philipp Hagemeister2014-08-241-0/+1
|
* [rtve] Add support for live streamPhilipp Hagemeister2014-08-221-0/+6
| | | | | | At the moment, only RTVE-1 seems to work flawlessly. -2 seems geoblocked right now. -TDP doesn't seem to be available outside of Spain.
* [patreon] Simplify (#3390)Philipp Hagemeister2014-08-221-0/+28
|
* [utils] Add missing mode and encoding argumentsSergey M․2014-08-211-8/+14
|
* [utils] Make JSON file writes atomic (Fixes #3549)Philipp Hagemeister2014-08-211-11/+30
|
* [jove] Simplify, extract full description and add test for video that ↵Sergey M․2014-08-191-0/+1
| | | | requires subscription
* [appletrailers] Support height-less videosPhilipp Hagemeister2014-08-101-0/+3
|
* [reverbnation] The 'uploader_id' field must be a stringJaime Marquínez Ferrándiz2014-08-101-0/+3
|
* [izlesene] Minor changesSergey M․2014-08-011-0/+2
|
* [livestream] Parse SMIL (#2713)Philipp Hagemeister2014-07-251-2/+2
|