* Introduce geo bypass context * Add ability to bypass based on IP blocks in CIDR notation * Introduce --geo-bypass-ip-block
Not using cache results in redundant network I/O due to downloading the same pages while using --playlist-items n-m
This fixes handling of non-UTF8 TTML subtitles Closes #14191
Openload phantomjs method
addinfourl.getcode is added since Python 2.6a1. As youtube-dl now requires 2.6+, this is no longer necessary. See https://github.com/python/cpython/commit/9b0d46db115c10767b240a0a64286214b50fe6ad
Used in Youku Show pages
To state that this is an internal function and people should be careful when using it outside youtube-dl.
Seen at http://zaq1.pl/video/xev0e
`\s` in Python 2.x doesn't match unicode whitespace characters by default