X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fwhatever-dl.git;a=blobdiff_plain;f=src%2Fwebsites%2Fbliptv.rb;h=b3bd8bb688f8318a3ea990ce173432a8933b9c88;hp=74f656d540a56e8f2e2272585e44a1be04f0baf3;hb=b5ee460113e84cada669cd1855269b05a374acb9;hpb=4a193bb3a17388640a7ac6904b74c8a031d27c5b diff --git a/src/websites/bliptv.rb b/src/websites/bliptv.rb index 74f656d..b3bd8bb 100644 --- a/src/websites/bliptv.rb +++ b/src/websites/bliptv.rb @@ -49,7 +49,7 @@ class Bliptv < Website end # I've seen some free software videos encoded as OGG/Vorbis, too. - video_url_regex = /"Ogg Theora\/Vorbis \(\.ogg\)", "attribute" : "(.*?\.ogg)/i + video_url_regex = /"Ogg Theora\/Vorbis \(\.og[gv]\)", "attribute" : "(.*?\.og[gv])/i matches = video_url_regex.match(page_data) if not matches.nil? @@ -68,7 +68,7 @@ class Bliptv < Website # If neither of the source formats are present, just grab the # video URL from the Flash variable and be done with it. - video_url_regex = /setPrimaryMediaUrl\("(.*?\.(flv|mov|wmv|mp4|ogg))/i + video_url_regex = /setPrimaryMediaUrl\("(.*?\.(flv|mov|wmv|mp4|og[gv]))/i matches = video_url_regex.match(page_data) if matches.nil?