The "Nett-TV Program" (http://www1.nrk.no/nett-tv) pages work differently than the nyheter and sport pages
that we normally parse. When selecting a show there that has multiple episodes, one will be brought to a page where
only the currently selected show is active in the embedded player. Scraping that page with NRKScraper::get_mms_urls
will only produce one single MMS URL -- the one of the episode currently playing.
This could be improved by parsing those pages for the URLs of the other episodes of a show. Then each of those pages
can be visited to assemble a list of MMS URLs for all the shows a user wants to watch or streamdump.
Ideally, the URL gathering could be handled separately from get_mms_urls and later call get_mms_urls for every page
URL that is found. Would be a good amount of code reuse. |