John Hawkinson
86596efa05
[nytimes] don't strip curlyquotes
2016-10-15 17:34:48 -04:00
John Hawkinson
b0eaeedd43
[nytimes] don't break if track.description is missing
2016-10-15 17:33:42 -04:00
John Hawkinson
804629ecb9
[nytimes] json regexp cleanup
...
Escape dots: \.
Favor
\(({.*})\);
over
\(({[^)]*)\)
in case there are internal close parens in the json data.
2016-10-15 17:32:03 -04:00
John Hawkinson
001a30f335
[nytimes] Allow _html_search_regex() to fail
...
Per @dstftw, allow _html_search_regex() to fail instead of raising
UnsupportedError() on our own.
2016-10-15 13:41:12 -04:00
John Hawkinson
3915b5193e
[nytimes] import UnsupportedError before raising it
2016-10-15 13:38:48 -04:00
John Hawkinson
9fb7e1bd6c
[nytimes] Optional fields shouldn't break extraction
...
Also leverage podcast_title var
2016-10-15 13:29:41 -04:00
John Hawkinson
12bf439cc6
[nytimes] "if var" not "if len(var)"
2016-10-15 13:25:04 -04:00
John Hawkinson
ccb27a857c
[nytimes] Remove untestable fallback for JS parsing failure
...
Per @yan12125, who I guess is concerned about testability.
Fair enough, though fragility seems an issue too.
I could imagine using smuggle_url() to pass in a directive to bypass
JS parsing, but that seems way too ugly. Does that imply something
about the testing framework?
Partial revert of 2117b36d09bfc55cb633f4cf8acad92184e8d475
2016-10-15 05:23:47 -04:00
John Hawkinson
5375b7ff9c
[nytimes] No u"" unicode literals in python3
2016-10-15 05:15:37 -04:00
John Hawkinson
2117b36d09
[nytimes] cleanup, add a fallback from json parsing
2016-10-14 23:28:59 -04:00
John Hawkinson
7096a99ce7
Move podcast extraction into base class
2016-10-14 23:03:17 -04:00
John Hawkinson
5c31899eb0
[nytimes] Podcasts aren't always recognizable by url
...
So merge NYTimesPodcastIE class into NYTArticleIE
2016-10-14 22:56:41 -04:00
John Hawkinson
7b6a386dde
[nytimes] Handle NYT podcasts
2016-10-14 22:16:43 -04:00
Remita Amine
4191779dcd
[nytimes] improve extraction
2016-09-01 19:08:29 +01:00
Sergey M․
993271da0a
[nytimes] Tolerate missing metadata ( Closes #8952 )
2016-03-24 23:28:24 +06:00
Yen Chi Hsuan
5332fd91bf
[nytimes] Correct _VALID_URL of NYTimesArticleIE
2015-05-12 12:42:13 +08:00
Yen Chi Hsuan
df8418ffcf
[nytimes] Extend _VALID_URL ( #2754 )
2015-05-04 23:03:47 +08:00
Yen Chi Hsuan
50aa43b3ae
[nytimes] Implement extracting videos from articles (closes #5436 )
2015-05-04 23:03:47 +08:00
Naglis Jonaitis
ccf3960eec
[nytimes] Improve _VALID_URL ( Fixes #5238 )
2015-03-19 20:55:05 +02:00
Sergey M․
f3c0c667a6
[nytimes] Modernize
2015-03-19 21:23:52 +06:00
Sergey M․
0ae8bbac2d
[nytimes] Support embed URL
2015-03-19 21:17:04 +06:00
Jouke Waleson
5f6a1245ff
PEP8 applied
2014-11-23 20:41:03 +01:00
Sergey M․
6515778305
[nytimes] Improve file size extraction
2014-05-03 03:11:38 +07:00
Sergey M․
d664de44b7
[nytimes] Add support for nytimes.com ( Closes #2846 )
2014-05-03 02:28:38 +07:00