[youtube] Fix ytsearch* when cookies are provided

Closes #11924

The API with `page` is no longer used in browsers, and YouTube always
returns {'reload': 'now'} when cookies are provided.

See http://youtube.github.io/spfjs/documentation/start/ for how SPF
works. Basically appending static link with a `spf` parameter yields the
corresponding dynamic link.
This commit is contained in:
Yen Chi Hsuan 2017-02-03 01:28:24 +08:00
parent c54c01f82d
commit a22b2fd19b
No known key found for this signature in database
GPG key ID: 7F902A182457CA23
2 changed files with 15 additions and 8 deletions

View file

@ -1,6 +1,7 @@
version <unreleased>
Extractors
* [youtube] Fix ytsearch when cookies are provided (#11924)
+ [bilibili] Support new Bangumi URLs (#11845)
version 2017.02.01