aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
AgeCommit message (Collapse)Author
2014-11-14[utils] Fix struct.pack call on very old Python versions (#4181)Philipp Hagemeister
2014-11-13[npo] Improve npo.nl (Fixes #4173)Philipp Hagemeister
2014-11-13[utils] Fix intlist_to_bytes in Python 2 (#4181)Philipp Hagemeister
2014-11-05[utils] Remove unused importPhilipp Hagemeister
2014-11-04[utils] Use a regexp instead of HTMLParser for get_element_by_attributePhilipp Hagemeister
2014-11-04[utils] Remove unused get_meta_content functionPhilipp Hagemeister
2014-11-02Do not override stdlib html parser 'locatestarttagend' regex (fixes #4081)Jaime Marquínez Ferrándiz
'<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).
2014-11-02[utils] ModernizePhilipp Hagemeister
2014-11-02[compat] Fix importsPhilipp Hagemeister
2014-11-02[util] Move compatibility functions out of utilPhilipp Hagemeister
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 .
2014-11-02[ffmpeg] Move version detection to utilsPhilipp Hagemeister
2014-10-29[drtv] Allow fractional timestamps (Fixes #4059)Philipp Hagemeister
2014-10-26[ffmpeg] Warn if ffmpeg/avconv version is too old (Fixes #4026)Philipp Hagemeister
2014-10-26Merge branch 'compat-getenv-and-expanduser' of ↵Sergey M․
https://github.com/dstftw/youtube-dl into dstftw-compat-getenv-and-expanduser Conflicts: test/test_utils.py youtube_dl/__init__.py
2014-10-04[utils] Add additional format to unified_strdateNaglis Jonaitis
2014-10-03[utils] Default age_limit to NonePhilipp Hagemeister
If we can't parse it, it means we don't have any information, not that the content is unrestricted.
2014-10-03[utils] Add parse_age_limitSergey M․
2014-10-01[utils] Add posix expanduser implementation and clarify the original sourceSergey M․
2014-10-01[utils] Improve and test js_to_jsonPhilipp Hagemeister
2014-10-01[utils] Fix js_to_jsonPhilipp Hagemeister
2014-09-30[core] Decode environment variables with filesystem encoding (Fixes #3854, ↵Sergey M․
Fixes #3217, Fixes #2918) Introduces compat versions of os.getenv and os.path.expanduser
2014-09-29[arte] Fix upload date extractionPhilipp Hagemeister
2014-09-29[utils:YoutubeDLHandler] Work around brain-dead Python 2.6 httplibPhilipp Hagemeister
In 2.6, the httplib sends fragments! Remove those (fixes generic_26 on 2.6).
2014-09-29[vimeo:likes] Support large like lists (Fixes #3847)Philipp Hagemeister
2014-09-15Merge remote-tracking branch 'dstftw/escape-non-ascii-in-urls'Philipp Hagemeister
Conflicts: test/test_utils.py
2014-09-15[facebook] Fix support for untitled videos (Fixes #3757)Philipp Hagemeister
2014-09-13[utils] Remove debug garbageSergey M․
2014-09-13[YoutubeDL/utils] Clarify rationale for URL escaping in comment, move escape ↵Sergey M․
routines to utils and add some tests
2014-09-13[utils] Apply 2.6 xpath crazinessPhilipp Hagemeister
This fixes ARD on 2.6
2014-09-13[ard] Make more robust against missing thumbnailsPhilipp Hagemeister
I cannot reproduce this error, it's from travis.
2014-09-13[utils] Fix find_xpath_attr on 2.6Philipp Hagemeister
2014-09-12[utils] Default SSL to TLS. (Fixes #3727)Philipp Hagemeister
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.
2014-09-03[youtube] Move cache into its own modulePhilipp Hagemeister
2014-09-03[utils] Make parse_duration case insensitiveSergey M․
2014-09-03[tvigle] Adapt to the new APISergey M․
2014-09-01[utils] Use flock instead of lockf (Fixes #3621)Philipp Hagemeister
2014-08-31[eporner] Simplify and correct (#3629)Philipp Hagemeister
2014-08-31[utils] Improve parse_durationSergey M․
2014-08-27[utils] Modernize testsPhilipp Hagemeister
2014-08-26[utils] Let request headers override standard headersPhilipp Hagemeister
What was I thinking when writing this?
2014-08-25[generic] Fix rss under Python 2.x and move test to extractorPhilipp Hagemeister
2014-08-25[rtlnl] Extract durationPhilipp Hagemeister
2014-08-25[execafterdownload] Simplify (#3569)Philipp Hagemeister
2014-08-24[expotv] Add new extractor (Fixes #3552)Philipp Hagemeister
2014-08-22[rtve] Add support for live streamPhilipp Hagemeister
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.
2014-08-22[patreon] Simplify (#3390)Philipp Hagemeister
2014-08-21[utils] Add missing mode and encoding argumentsSergey M․
2014-08-21[utils] Make JSON file writes atomic (Fixes #3549)Philipp Hagemeister
2014-08-19[jove] Simplify, extract full description and add test for video that ↵Sergey M․
requires subscription
2014-08-10[appletrailers] Support height-less videosPhilipp Hagemeister