Mark Colbert test with actual playlist count of 30, instead of a
minimum. 30 is 15 clips and 15 full episodes.
Add another test (only_matching) for a show with no clips, only episodes:
Star Trek. playlist count is 15.
discourse.ubuntu.com has gone away, repalce with skiplagged.com.
Be nice to have a non-frontpage URL that might be more stable,
though I don't have one. Maybe this should move to html
in test/test_InfoExtractor.py?
Seperate out the concept of the executable used by an ExternalFD
downloader and the name of the class. I'm not entirely sure why we
care aobut the name of the class at all, but it's used outside of
classes to initialize _BY_NAME() and soforth, so it seems impractical
to just change get_basename() to return the executable name
So instead, call get_execname() not get_basename().
Default get_execname() to calling get_basename(), but override it in
FFmpegFD, where it returns self.execname, which is set in
_call_downloader().
Perhaps there is a less complicated way to achieve this goal?
Extractor for npo.nl programs. Retrieves only recent episodes of the program in question (hence the name...). Some programs have so many episodes available that it doesn't make any practical sense to retrieve all.
YoutubeDL uses a regexp in common.py::_find_jwplayer_data
to find the jwplayer options. However the options are found in a
javascript function. For example the regexp might match this
jwplayer('some_string').setup({
/** Other attributes */
sources: {
file: "<url of video>",
label: "<title of video>",
type: "mp4"
}
});
Since this a valid javascript function, some websites write the
options as
var src = {
file: "<url of video>",
label: "<title of video>",
type: "mp4"
}
jwplayer('some_string').setup({
/** Other attributes */
sources: src
});
In this case YoutubeDL won't be able to retrieve sources.file, since
the regexp only matches the ".setup(...)" and ignores the "var src
= ..." assignment.
This commit makes YoutubeDL raise an ExtractorError in the above
case. YoutubeDL will then try alternative methods to retrieve the URL
of the video.