Commit Graph

34 Commits (0e805e782bd05951ca3f420cf2a050e2ac3ae846)

Author SHA1 Message Date
Yen Chi Hsuan f9f3e3df9a [teamcoco] Use determine_ext to determine the video type
Some videos does not contain a 'type' field ()
Yen Chi Hsuan 12675275a1 [teamcoco] Detect expired videos ()
Yen Chi Hsuan 3a105f7b20 [teamcoco] Rewrite preload data extraction
Idea: "puncture" some consecutive fragments and check whether the
b64decode result of a punctured string is a valid JSON or not.

It's a O(N^3) algorithm, but should be fast for a small N (less than 30
fragments in all test cases)
Yen Chi Hsuan ac6c358c2a [teamcoco] Fix extracting preload data again
Yen Chi Hsuan 9c5335a027 [teamcoco] Fix "preload" data extraction (fixes )
Naglis Jonaitis 7088f5b5fa [teamcoco] Extract duration
Naglis Jonaitis 5bb6328cb9 [teamcoco] Extract m3u8 URLs
Naglis Jonaitis ce9f47de99 [teamcoco] Fix extraction
Naglis Jonaitis fbfcc2972b [teamcoco] Fix extraction
Naglis Jonaitis 8b910bda0c [teamcoco] Fix extraction
Naglis Jonaitis 314368c822 [teamcoco] Fix extraction
Also, use a single style of quotes
Naglis Jonaitis 3811c567e7 [teamcoco] Fix video id extraction
Naglis Jonaitis 641eb10d34 Use _family_friendly_search for determining age_limit
Philipp Hagemeister 17d2712d9c [teamcoco] Modernize and fix extraction
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules
Jouke Waleson 5f6a1245ff PEP8 applied
Sergey M․ f83dda12ad [teamcoco] Update video id regex
Philipp Hagemeister 0610a3e0b2 Remove unused imports
Philipp Hagemeister dfb2cb5cfd [teamcoco] Simplify ID management (Closes )
Philipp Hagemeister c465afd736 [teamcoco] Fix regex in 2.6 ()
The re engine does not want to repeat an empty string, for fear that something like

    (.*)*

could be matching the tokens ...

    ""
    "" ""
    "" "" ""

Of course, that's harmless with a question mark, although still somewhat strange.
AGSPhoenix fa387d2d99 Revert "Workaround for regex engine limitation"
This reverts commit 6d0d573eca.
AGSPhoenix 6d0d573eca Workaround for regex engine limitation
AGSPhoenix bb799e811b Add a test for the new URL pages
Add a test for the pages with the video_id in the URL.
AGSPhoenix 04ee53eca1 Support TeamCoco URLs with video_id in the title
If the URL has the video_id in it, use that since the current method of
finding the id breaks on those pages.

Fixes 2698.
Philipp Hagemeister befdc8f3b6 [teamcoco] Use centralized sorting
Philipp Hagemeister bb198c95e2 [teamcoco] Use unicode_literals
Jaime Marquínez Ferrándiz e26f871228 Use the new '_download_xml' helper in more extractors
Philipp Hagemeister cc13cc0251 [teamcoco] Correct error
Jaime Marquínez Ferrándiz e7e6b54d8a [teamcoco] Parse the xml file and extract all the formats
Alex Van't Hof ac2547f5ff [teamcoco] Fix video url extraction for some videos
Video url extraction failed for some videos,
e.g. http://teamcoco.com/video/old-time-baseball

The url extracted was also occasionally suboptimal quality,
e.g. http://teamcoco.com/video/louis-ck-interview-george-w-bush
pishposhmcgee 12ef6aefa8 changed video_url regex
Some older videos contain an extra properties such as 'embed' before 'type'.
Jaime Marquínez Ferrándiz 46720279c2 InfoExtractor: add some helper methods to extract OpenGraph info
Philipp Hagemeister 6f5ac90cf3 Move tests to the IE definitions
Philipp Hagemeister cd8b830292 [Teamcoco] Move into own file