[archive.org] Fix incorrect url condition (closes #5628)
authorblissland <blissland.house@googlemail.com>
Wed, 6 May 2015 10:48:36 +0000 (11:48 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 6 May 2015 13:06:10 +0000 (15:06 +0200)
commitd6a1738892038940ef4af59a33aeddc99ef0c966
tree55455bf913e5b3fff035c0a48d80fbbf168e878d
parentb326b07adc49466a4bdd0ea3c63f329a9e523121
[archive.org] Fix incorrect url condition (closes #5628)

The condition for assigning to json_url is the wrong way round:

currently for url: aaa.com/xxx

we get:

aaa.com/xxx&output=json

instead of the correct value:

aaa.com/xxx?output=json
youtube_dl/extractor/archiveorg.py