wwdc-session-transcripts 0

WWDC Session Transcripts

3 years after

WWDC Session Transcripts

As used by ASCIIwwdc.

Methodology

Transcripts for WWDC sessions are aggregated from subtitles included in session videos from 2010, 2013, and 2014.

The code used to automatically scrape and collect this information for 2014 sessions is as follows:

require 'open-uri'
require 'nokogiri'

year = 2014
doc = Nokogiri::HTML(open("https://developer.apple.com/videos/wwdc/#{year}/"))

doc.search("p.download").each do |download|
  href = download.at("a").attr('href')
  uri = URI(href)
  uri.path = uri.path.split('/')[0...-1].join('/') + '/'
  uri.query = nil

  p session = uri.path.split('/').last.to_i

  begin
    subtitles = []
    m3u8 = open(URI.join(uri, "subtitles/eng/prog_index.m3u8"))
    m3u8.each_line do |line|
      next unless /\.webvtt$/ === line
      webvtt = open(URI.join(uri, "subtitles/eng/", line.strip))
      subtitles << webvtt.read
    end

    File.open("#{session}.vtt", "w") do |f|
      f.write subtitles.join("\n")
    end
  rescue => e
    p "! #{session} (#{e})"
    next
  end
end

Additional transcripts for 2012 WWDC content was graciously contributed by Rev.com, and community volunteers.

Copyright

All content copyright © 2010–2014 Apple Inc. All rights reserved.

Related Repositories

wwdc

wwdc

A command-line interface for accessing WWDC session content ...

awesome-wwdc

awesome-wwdc

A curated awesome WWDC resource list for conference attendees ...

WWDC

WWDC

WWDC app for OS X ...

WWDC-Dataset

WWDC-Dataset

Up-to-date JSON dataset of all WWDC Sessions (videos, slides, transcripts, tags) ...

awesome-wwdc

awesome-wwdc

A curated awesome WWDC resource list for conference attendees ...


Top Contributors

natecook1000 mattt capnslipp mcdado jawwad spicyj jtbandes simonwhitaker earltedly Anakros nevil drewcrawford jobbogamer jcavar yangcaimu McZonk Clafou dmthomas