[utils] Make value optional for find_xpath_attr
authorSergey M․ <dstftw@gmail.com>
Sat, 1 Aug 2015 14:22:13 +0000 (20:22 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 1 Aug 2015 14:22:13 +0000 (20:22 +0600)
commitee114368ad0bb9822449295910263a99f9de4e1e
tree06a14cd6cbf2939f199fb80941f74c4a0841c48e
parent525a87f58ee9c4ee91b5b0384184dabf6d87eef3
[utils] Make value optional for find_xpath_attr

This allows selecting particular attributes by name but without specifying the value and similar to xpath syntax `[@attrib]`
test/test_utils.py
youtube_dl/utils.py