Get the list FLV files from here using the boardcast URL http://www.twitch.tv/twitchplayspokemon/b/531310020
and http://www.twitch.tv/twitchplayspokemon/b/531783169
For each of the FLV URL, check the Wayback Machine CDX API and get the timestamp and Base32- SHA1 digest. I.E.: Get https://web.archive.org/cdx/search/cdx?url=[FLV_URL_HERE]
and get the 2nd and 6th column.
Download the FLV file using the associated timestamp using this URL pattern: https://web.archive.org/web/[TIMESTAMP]id_/[URL]
where [TIMESTAMP]
is the timestamp from the CDX and [URL]
is the URL of the FLV file.
Verify that the FLV file is not corrupt or truncated by computing the SHA1 digest with the one from the CDX API. Do not skip this step because the download may be incomplete.
Each FLV file is usually 30 minutes long. 2 FLV files can make 1 hour long YouTube video, 20 FL