[extractor/common] Encode the url when calculating the md5 with `—write-pages` option
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 25 Jan 2014 14:31:58 +0000 (15:31 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 25 Jan 2014 14:32:56 +0000 (15:32 +0100)
commit944d65c762cc8426bb10093d11dbb94ea5dc21cb
tree69cc95df52fd79980fbc194e86c9efc22dec819a
parentf945612bd03642fa01ea7220ebe3e8eae99a9052
[extractor/common] Encode the url when calculating the md5 with `—write-pages` option

This doesn’t cause any problem in python 2.*, but on python 3 the `md5` function only accepts bytes.
youtube_dl/extractor/common.py