[pbs] Clarify member stations' URLs

This commit is contained in:
Sergey M․ 2015-12-10 21:04:26 +06:00
parent f1ac2033ab
commit 526a20bd16

View file

@ -16,164 +16,165 @@ from ..utils import (
class PBSIE(InfoExtractor): class PBSIE(InfoExtractor):
_STATIONS = ( _STATIONS = (
('aptv.org', 'APT - Alabama Public Television (WBIQ)'), # http://aptv.org/ ('video.pbs.org', 'PBS: Public Broadcasting Service'), # http://www.pbs.org/
('gpb.org', 'GPB/Georgia Public Broadcasting (WGTV)'), # http://www.gpb.org/ ('video.aptv.org', 'APT - Alabama Public Television (WBIQ)'), # http://aptv.org/
('mpbonline.org', 'Mississippi Public Broadcasting (WMPN)'), # http://www.mpbonline.org ('video.gpb.org', 'GPB/Georgia Public Broadcasting (WGTV)'), # http://www.gpb.org/
('wnpt.org', 'Nashville Public Television (WNPT)'), # http://www.wnpt.org ('video.mpbonline.org', 'Mississippi Public Broadcasting (WMPN)'), # http://www.mpbonline.org
('wfsu.org', 'WFSU-TV (WFSU)'), # http://wfsu.org/ ('video.wnpt.org', 'Nashville Public Television (WNPT)'), # http://www.wnpt.org
('wsre.org', 'WSRE (WSRE)'), # http://www.wsre.org ('video.wfsu.org', 'WFSU-TV (WFSU)'), # http://wfsu.org/
('wtcitv.org', 'WTCI (WTCI)'), # http://www.wtcitv.org ('video.wsre.org', 'WSRE (WSRE)'), # http://www.wsre.org
('pba.org', 'WPBA/Channel 30 (WPBA)'), # http://pba.org/ ('video.wtcitv.org', 'WTCI (WTCI)'), # http://www.wtcitv.org
('alaskapublic.org', 'Alaska Public Media (KAKM)'), # http://alaskapublic.org/kakm ('video.pba.org', 'WPBA/Channel 30 (WPBA)'), # http://pba.org/
('kuac.org', 'KUAC (KUAC)'), # http://kuac.org/kuac-tv/ ('video.alaskapublic.org', 'Alaska Public Media (KAKM)'), # http://alaskapublic.org/kakm
('ktoo.org', '360 North (KTOO)'), # http://www.ktoo.org/ #('kuac.org', 'KUAC (KUAC)'), # http://kuac.org/kuac-tv/
('azpm.org', 'KUAT 6 (KUAT)'), # http://www.azpm.org/ #('ktoo.org', '360 North (KTOO)'), # http://www.ktoo.org/
('azpbs.org', 'Arizona PBS (KAET)'), # http://www.azpbs.org #('azpm.org', 'KUAT 6 (KUAT)'), # http://www.azpm.org/
('newmexicopbs.org', 'KNME-TV/Channel 5 (KNME)'), # http://www.newmexicopbs.org/ ('video.azpbs.org', 'Arizona PBS (KAET)'), # http://www.azpbs.org
('vegaspbs.org', 'Vegas PBS (KLVX)'), # http://vegaspbs.org/ ('portal.knme.org', 'KNME-TV/Channel 5 (KNME)'), # http://www.newmexicopbs.org/
('aetn.org', 'AETN/ARKANSAS ETV NETWORK (KETS)'), # http://www.aetn.org/ ('video.vegaspbs.org', 'Vegas PBS (KLVX)'), # http://vegaspbs.org/
('ket.org', 'KET (WKLE)'), # http://www.ket.org/ ('watch.aetn.org', 'AETN/ARKANSAS ETV NETWORK (KETS)'), # http://www.aetn.org/
('wkno.org', 'WKNO/Channel 10 (WKNO)'), # http://www.wkno.org/ ('video.ket.org', 'KET (WKLE)'), # http://www.ket.org/
('lpb.org', 'LPB/LOUISIANA PUBLIC BROADCASTING (WLPB)'), # http://www.lpb.org/ ('video.wkno.org', 'WKNO/Channel 10 (WKNO)'), # http://www.wkno.org/
('oeta.tv', 'OETA (KETA)'), # http://www.oeta.tv ('video.lpb.org', 'LPB/LOUISIANA PUBLIC BROADCASTING (WLPB)'), # http://www.lpb.org/
('optv.org', 'Ozarks Public Television (KOZK)'), # http://www.optv.org/ ('videos.oeta.tv', 'OETA (KETA)'), # http://www.oeta.tv
('wsiu.org', 'WSIU Public Broadcasting (WSIU)'), # http://www.wsiu.org/ ('video.optv.org', 'Ozarks Public Television (KOZK)'), # http://www.optv.org/
('keet.org', 'KEET TV (KEET)'), # http://www.keet.org ('watch.wsiu.org', 'WSIU Public Broadcasting (WSIU)'), # http://www.wsiu.org/
('kixe.org', 'KIXE/Channel 9 (KIXE)'), # http://kixe.org/ ('video.keet.org', 'KEET TV (KEET)'), # http://www.keet.org
('kpbs.org', 'KPBS San Diego (KPBS)'), # http://www.kpbs.org/ ('pbs.kixe.org', 'KIXE/Channel 9 (KIXE)'), # http://kixe.org/
('kqed.org', 'KQED (KQED)'), # http://www.kqed.org ('video.kpbs.org', 'KPBS San Diego (KPBS)'), # http://www.kpbs.org/
('kvie.org', 'KVIE Public Television (KVIE)'), # http://www.kvie.org ('video.kqed.org', 'KQED (KQED)'), # http://www.kqed.org
('pbssocal.org', 'PBS SoCal/KOCE (KOCE)'), # http://www.pbssocal.org/ ('vids.kvie.org', 'KVIE Public Television (KVIE)'), # http://www.kvie.org
('valleypbs.org', 'ValleyPBS (KVPT)'), # http://www.valleypbs.org/ ('video.pbssocal.org', 'PBS SoCal/KOCE (KOCE)'), # http://www.pbssocal.org/
('cptv.org', 'CONNECTICUT PUBLIC TELEVISION (WEDH)'), # http://cptv.org ('video.valleypbs.org', 'ValleyPBS (KVPT)'), # http://www.valleypbs.org/
('knpb.org', 'KNPB Channel 5 (KNPB)'), # http://www.knpb.org/ ('video.cptv.org', 'CONNECTICUT PUBLIC TELEVISION (WEDH)'), # http://cptv.org
('soptv.org', 'SOPTV (KSYS)'), # http://www.soptv.org ('watch.knpb.org', 'KNPB Channel 5 (KNPB)'), # http://www.knpb.org/
('klcs.org', 'KLCS/Channel 58 (KLCS)'), # http://www.klcs.org ('video.soptv.org', 'SOPTV (KSYS)'), # http://www.soptv.org
('krcb.org', 'KRCB Television & Radio (KRCB)'), # http://www.krcb.org #('klcs.org', 'KLCS/Channel 58 (KLCS)'), # http://www.klcs.org
('kvcr.org', 'KVCR TV/DT/FM :: Vision for the Future (KVCR)'), # http://kvcr.org #('krcb.org', 'KRCB Television & Radio (KRCB)'), # http://www.krcb.org
('rmpbs.org', 'Rocky Mountain PBS (KRMA)'), # http://www.rmpbs.org #('kvcr.org', 'KVCR TV/DT/FM :: Vision for the Future (KVCR)'), # http://kvcr.org
('kenw.org', 'KENW-TV3 (KENW)'), # http://www.kenw.org ('video.rmpbs.org', 'Rocky Mountain PBS (KRMA)'), # http://www.rmpbs.org
('kued.org', 'KUED Channel 7 (KUED)'), # http://www.kued.org ('video.kenw.org', 'KENW-TV3 (KENW)'), # http://www.kenw.org
('wyomingpbs.org', 'Wyoming PBS (KCWC)'), # http://www.wyomingpbs.org ('video.kued.org', 'KUED Channel 7 (KUED)'), # http://www.kued.org
('cpt12.org', 'Colorado Public Television / KBDI 12 (KBDI)'), # http://www.cpt12.org/ ('video.wyomingpbs.org', 'Wyoming PBS (KCWC)'), # http://www.wyomingpbs.org
('kbyutv.org', 'KBYU-TV (KBYU)'), # http://www.kbyutv.org/ ('video.cpt12.org', 'Colorado Public Television / KBDI 12 (KBDI)'), # http://www.cpt12.org/
('thirteen.org', 'Thirteen/WNET New York (WNET)'), # http://www.thirteen.org ('video.kbyueleven.org', 'KBYU-TV (KBYU)'), # http://www.kbyutv.org/
('wgbh.org', 'WGBH/Channel 2 (WGBH)'), # http://wgbh.org ('video.thirteen.org', 'Thirteen/WNET New York (WNET)'), # http://www.thirteen.org
('wgby.org', 'WGBY (WGBY)'), # http://www.wgby.org ('video.wgbh.org', 'WGBH/Channel 2 (WGBH)'), # http://wgbh.org
('njtvonline.org', 'NJTV Public Media NJ (WNJT)'), # http://www.njtvonline.org/ ('video.wgby.org', 'WGBY (WGBY)'), # http://www.wgby.org
('ripbs.org', 'Rhode Island PBS (WSBE)'), # http://www.ripbs.org/home/ ('watch.njtvonline.org', 'NJTV Public Media NJ (WNJT)'), # http://www.njtvonline.org/
('wliw.org', 'WLIW21 (WLIW)'), # http://www.wliw.org/ #('ripbs.org', 'Rhode Island PBS (WSBE)'), # http://www.ripbs.org/home/
('mpt.org', 'mpt/Maryland Public Television (WMPB)'), # http://www.mpt.org ('watch.wliw.org', 'WLIW21 (WLIW)'), # http://www.wliw.org/
('weta.org', 'WETA Television and Radio (WETA)'), # http://www.weta.org ('video.mpt.tv', 'mpt/Maryland Public Television (WMPB)'), # http://www.mpt.org
('whyy.org', 'WHYY (WHYY)'), # http://www.whyy.org ('watch.weta.org', 'WETA Television and Radio (WETA)'), # http://www.weta.org
('wlvt.org', 'PBS 39 (WLVT)'), # http://www.wlvt.org/ ('video.whyy.org', 'WHYY (WHYY)'), # http://www.whyy.org
('wvpt.net', 'WVPT - Your Source for PBS and More! (WVPT)'), # http://www.wvpt.net ('video.wlvt.org', 'PBS 39 (WLVT)'), # http://www.wlvt.org/
('whut.org', 'Howard University Television (WHUT)'), # http://www.whut.org ('video.wvpt.net', 'WVPT - Your Source for PBS and More! (WVPT)'), # http://www.wvpt.net
('wedu.org', 'WEDU PBS (WEDU)'), # http://www.wedu.org ('video.whut.org', 'Howard University Television (WHUT)'), # http://www.whut.org
('wgcu.org', 'WGCU Public Media (WGCU)'), # http://www.wgcu.org/ ('video.wedu.org', 'WEDU PBS (WEDU)'), # http://www.wedu.org
('wjct.org', 'WJCT Public Broadcasting (WJCT)'), # http://www.wjct.org ('video.wgcu.org', 'WGCU Public Media (WGCU)'), # http://www.wgcu.org/
('wpbt2.org', 'WPBT2 (WPBT)'), # http://www.wpbt2.org #('wjct.org', 'WJCT Public Broadcasting (WJCT)'), # http://www.wjct.org
('wucftv.org', 'WUCF TV (WUCF)'), # http://wucftv.org ('video.wpbt2.org', 'WPBT2 (WPBT)'), # http://www.wpbt2.org
('wuft.org', 'WUFT/Channel 5 (WUFT)'), # http://www.wuft.org ('video.wucftv.org', 'WUCF TV (WUCF)'), # http://wucftv.org
('wxel.org', 'WXEL/Channel 42 (WXEL)'), # http://www.wxel.org/home/ ('video.wuft.org', 'WUFT/Channel 5 (WUFT)'), # http://www.wuft.org
('wlrn.org', 'WLRN/Channel 17 (WLRN)'), # http://www.wlrn.org/ ('watch.wxel.org', 'WXEL/Channel 42 (WXEL)'), # http://www.wxel.org/home/
('wusf.org', 'WUSF Public Broadcasting (WUSF)'), # http://wusf.org/ ('video.wlrn.org', 'WLRN/Channel 17 (WLRN)'), # http://www.wlrn.org/
('scetv.org', 'ETV (WRLK)'), # http://www.scetv.org ('video.wusf.usf.edu', 'WUSF Public Broadcasting (WUSF)'), # http://wusf.org/
('unctv.org', 'UNC-TV (WUNC)'), # http://www.unctv.org/ ('video.scetv.org', 'ETV (WRLK)'), # http://www.scetv.org
('pbsguam.org', 'PBS Guam (KGTF)'), # http://www.pbsguam.org/ ('video.unctv.org', 'UNC-TV (WUNC)'), # http://www.unctv.org/
('pbshawaii.org', 'PBS Hawaii - Oceanic Cable Channel 10 (KHET)'), # http://www.pbshawaii.org/ #('pbsguam.org', 'PBS Guam (KGTF)'), # http://www.pbsguam.org/
('idahoptv.org', 'Idaho Public Television (KAID)'), # http://idahoptv.org ('video.pbshawaii.org', 'PBS Hawaii - Oceanic Cable Channel 10 (KHET)'), # http://www.pbshawaii.org/
('ksps.org', 'KSPS (KSPS)'), # http://www.ksps.org/home/ ('video.idahoptv.org', 'Idaho Public Television (KAID)'), # http://idahoptv.org
('opb.org', 'OPB (KOPB)'), # http://www.opb.org ('video.ksps.org', 'KSPS (KSPS)'), # http://www.ksps.org/home/
('kwsu.org', 'KWSU/Channel 10 & KTNW/Channel 31 (KWSU)'), # http://www.kwsu.org ('watch.opb.org', 'OPB (KOPB)'), # http://www.opb.org
('illinois.edu', 'WILL-TV (WILL)'), # http://will.illinois.edu/ ('watch.nwptv.org', 'KWSU/Channel 10 & KTNW/Channel 31 (KWSU)'), # http://www.kwsu.org
('wsec.tv', 'Network Knowledge - WSEC/Springfield (WSEC)'), # http://www.wsec.tv ('video.will.illinois.edu', 'WILL-TV (WILL)'), # http://will.illinois.edu/
('wttw.com', 'WTTW11 (WTTW)'), # http://www.wttw.com/ ('video.networkknowledge.tv', 'Network Knowledge - WSEC/Springfield (WSEC)'), # http://www.wsec.tv
('wtvp.org', 'WTVP & WTVP.org, Public Media for Central Illinois (WTVP)'), # http://www.wtvp.org/ ('video.wttw.com', 'WTTW11 (WTTW)'), # http://www.wttw.com/
('iptv.org', 'Iowa Public Television/IPTV (KDIN)'), # http://www.iptv.org/ #('wtvp.org', 'WTVP & WTVP.org, Public Media for Central Illinois (WTVP)'), # http://www.wtvp.org/
('ninenet.org', 'Nine Network (KETC)'), # http://www.ninenet.org ('video.iptv.org', 'Iowa Public Television/IPTV (KDIN)'), # http://www.iptv.org/
('wfwa.org', 'PBS39 Fort Wayne (WFWA)'), # http://wfwa.org/ ('video.ninenet.org', 'Nine Network (KETC)'), # http://www.ninenet.org
('wfyi.org', 'WFYI Indianapolis (WFYI)'), # http://www.wfyi.org ('video.wfwa.org', 'PBS39 Fort Wayne (WFWA)'), # http://wfwa.org/
('mptv.org', 'Milwaukee Public Television (WMVS)'), # http://www.mptv.org ('video.wfyi.org', 'WFYI Indianapolis (WFYI)'), # http://www.wfyi.org
('wnin.org', 'WNIN (WNIN)'), # http://www.wnin.org/ ('video.mptv.org', 'Milwaukee Public Television (WMVS)'), # http://www.mptv.org
('wnit.org', 'WNIT Public Television (WNIT)'), # http://www.wnit.org/ ('video.wnin.org', 'WNIN (WNIN)'), # http://www.wnin.org/
('wpt.org', 'WPT (WPNE)'), # http://www.wpt.org/ ('video.wnit.org', 'WNIT Public Television (WNIT)'), # http://www.wnit.org/
('wvut.org', 'WVUT/Channel 22 (WVUT)'), # http://wvut.org/ ('video.wpt.org', 'WPT (WPNE)'), # http://www.wpt.org/
('weiu.net', 'WEIU/Channel 51 (WEIU)'), # http://www.weiu.net ('video.wvut.org', 'WVUT/Channel 22 (WVUT)'), # http://wvut.org/
('wqpt.org', 'WQPT-TV (WQPT)'), # http://www.wqpt.org ('video.weiu.net', 'WEIU/Channel 51 (WEIU)'), # http://www.weiu.net
('wycc.org', 'WYCC PBS Chicago (WYCC)'), # http://www.wycc.org ('video.wqpt.org', 'WQPT-TV (WQPT)'), # http://www.wqpt.org
('lakeshorepublicmedia.org', 'Lakeshore Public Television (WYIN)'), # http://lakeshorepublicmedia.org/ ('video.wycc.org', 'WYCC PBS Chicago (WYCC)'), # http://www.wycc.org
('wipb.org', 'WIPB-TV (WIPB)'), # http://wipb.org #('lakeshorepublicmedia.org', 'Lakeshore Public Television (WYIN)'), # http://lakeshorepublicmedia.org/
('indianapublicmedia.org', 'WTIU (WTIU)'), # http://indianapublicmedia.org/tv/ ('video.wipb.org', 'WIPB-TV (WIPB)'), # http://wipb.org
('cetconnect.org', 'CET (WCET)'), # http://www.cetconnect.org ('video.indianapublicmedia.org', 'WTIU (WTIU)'), # http://indianapublicmedia.org/tv/
('thinktv.org', 'ThinkTVNetwork (WPTD)'), # http://www.thinktv.org ('watch.cetconnect.org', 'CET (WCET)'), # http://www.cetconnect.org
('wbgu.org', 'WBGU-TV (WBGU)'), # http://wbgu.org ('video.thinktv.org', 'ThinkTVNetwork (WPTD)'), # http://www.thinktv.org
('wgvu.org', 'WGVU TV (WGVU)'), # http://www.wgvu.org/ ('video.wbgu.org', 'WBGU-TV (WBGU)'), # http://wbgu.org
('netnebraska.org', 'NET1 (KUON)'), # http://netnebraska.org ('video.wgvu.org', 'WGVU TV (WGVU)'), # http://www.wgvu.org/
('pioneer.org', 'Pioneer Public Television (KWCM)'), # http://www.pioneer.org ('video.netnebraska.org', 'NET1 (KUON)'), # http://netnebraska.org
('sdpb.org', 'SDPB Television (KUSD)'), # http://www.sdpb.org ('video.pioneer.org', 'Pioneer Public Television (KWCM)'), # http://www.pioneer.org
('tpt.org', 'TPT (KTCA)'), # http://www.tpt.org ('watch.sdpb.org', 'SDPB Television (KUSD)'), # http://www.sdpb.org
('ksmq.org', 'KSMQ (KSMQ)'), # http://www.ksmq.org/ ('video.tpt.org', 'TPT (KTCA)'), # http://www.tpt.org
('kpts.org', 'KPTS/Channel 8 (KPTS)'), # http://www.kpts.org/ ('watch.ksmq.org', 'KSMQ (KSMQ)'), # http://www.ksmq.org/
('ktwu.org', 'KTWU/Channel 11 (KTWU)'), # http://ktwu.org ('watch.kpts.org', 'KPTS/Channel 8 (KPTS)'), # http://www.kpts.org/
('shptv.org', 'Smoky Hills Public Television (KOOD)'), # http://www.shptv.org ('watch.ktwu.org', 'KTWU/Channel 11 (KTWU)'), # http://ktwu.org
('kcpt.org', 'KCPT Kansas City Public Television (KCPT)'), # http://kcpt.org/ #('shptv.org', 'Smoky Hills Public Television (KOOD)'), # http://www.shptv.org
('blueridgepbs.org', 'Blue Ridge PBS (WBRA)'), # http://www.blueridgepbs.org/ #('kcpt.org', 'KCPT Kansas City Public Television (KCPT)'), # http://kcpt.org/
('easttennesseepbs.org', 'East Tennessee PBS (WSJK)'), # http://easttennesseepbs.org #('blueridgepbs.org', 'Blue Ridge PBS (WBRA)'), # http://www.blueridgepbs.org/
('wcte.org', 'WCTE-TV (WCTE)'), # http://www.wcte.org ('watch.easttennesseepbs.org', 'East Tennessee PBS (WSJK)'), # http://easttennesseepbs.org
('wljt.org', 'WLJT, Channel 11 (WLJT)'), # http://wljt.org/ ('video.wcte.tv', 'WCTE-TV (WCTE)'), # http://www.wcte.org
('wosu.org', 'WOSU TV (WOSU)'), # http://wosu.org/ ('video.wljt.org', 'WLJT, Channel 11 (WLJT)'), # http://wljt.org/
('woub.org', 'WOUB/WOUC (WOUB)'), # http://woub.org/tv/index.php?section=5 ('video.wosu.org', 'WOSU TV (WOSU)'), # http://wosu.org/
('wvpublic.org', 'WVPB (WVPB)'), # http://wvpublic.org/ ('video.woub.org', 'WOUB/WOUC (WOUB)'), # http://woub.org/tv/index.php?section=5
('wkyupbs.org', 'WKYU-PBS (WKYU)'), # http://www.wkyupbs.org ('video.wvpublic.org', 'WVPB (WVPB)'), # http://wvpublic.org/
('wyes.org', 'WYES-TV/New Orleans (WYES)'), # http://www.wyes.org ('video.wkyupbs.org', 'WKYU-PBS (WKYU)'), # http://www.wkyupbs.org
('kera.org', 'KERA 13 (KERA)'), # http://www.kera.org/ #('wyes.org', 'WYES-TV/New Orleans (WYES)'), # http://www.wyes.org
('mpbn.net', 'MPBN (WCBB)'), # http://www.mpbn.net/ ('video.kera.org', 'KERA 13 (KERA)'), # http://www.kera.org/
('mountainlake.org', 'Mountain Lake PBS (WCFE)'), # http://www.mountainlake.org/ ('video.mpbn.net', 'MPBN (WCBB)'), # http://www.mpbn.net/
('nhptv.org', 'NHPTV (WENH)'), # http://nhptv.org/ ('video.mountainlake.org', 'Mountain Lake PBS (WCFE)'), # http://www.mountainlake.org/
('vpt.org', 'Vermont PBS (WETK)'), # http://www.vpt.org ('video.nhptv.org', 'NHPTV (WENH)'), # http://nhptv.org/
('witf.org', 'witf (WITF)'), # http://www.witf.org ('video.vpt.org', 'Vermont PBS (WETK)'), # http://www.vpt.org
('wqed.org', 'WQED Multimedia (WQED)'), # http://www.wqed.org/ ('video.witf.org', 'witf (WITF)'), # http://www.witf.org
('wmht.org', 'WMHT Educational Telecommunications (WMHT)'), # http://www.wmht.org/home/ ('watch.wqed.org', 'WQED Multimedia (WQED)'), # http://www.wqed.org/
('deltabroadcasting.org', 'Q-TV (WDCQ)'), # http://www.deltabroadcasting.org ('video.wmht.org', 'WMHT Educational Telecommunications (WMHT)'), # http://www.wmht.org/home/
('dptv.org', 'WTVS Detroit Public TV (WTVS)'), # http://www.dptv.org/ ('video.deltabroadcasting.org', 'Q-TV (WDCQ)'), # http://www.deltabroadcasting.org
('wcmu.org', 'CMU Public Television (WCMU)'), # http://www.wcmu.org ('video.dptv.org', 'WTVS Detroit Public TV (WTVS)'), # http://www.dptv.org/
('wkar.org', 'WKAR-TV (WKAR)'), # http://wkar.org/ ('video.wcmu.org', 'CMU Public Television (WCMU)'), # http://www.wcmu.org
('nmu.edu', 'WNMU-TV Public TV 13 (WNMU)'), # http://wnmutv.nmu.edu ('video.wkar.org', 'WKAR-TV (WKAR)'), # http://wkar.org/
('wdse.org', 'WDSE - WRPT (WDSE)'), # http://www.wdse.org/ ('wnmuvideo.nmu.edu', 'WNMU-TV Public TV 13 (WNMU)'), # http://wnmutv.nmu.edu
('wgte.org', 'WGTE TV (WGTE)'), # http://www.wgte.org ('video.wdse.org', 'WDSE - WRPT (WDSE)'), # http://www.wdse.org/
('lakelandptv.org', 'Lakeland Public Television (KAWE)'), # http://www.lakelandptv.org ('video.wgte.org', 'WGTE TV (WGTE)'), # http://www.wgte.org
('prairiepublic.org', 'PRAIRIE PUBLIC (KFME)'), # http://www.prairiepublic.org/ ('video.lptv.org', 'Lakeland Public Television (KAWE)'), # http://www.lakelandptv.org
('kmos.org', 'KMOS-TV - Channels 6.1, 6.2 and 6.3 (KMOS)'), # http://www.kmos.org/ #('prairiepublic.org', 'PRAIRIE PUBLIC (KFME)'), # http://www.prairiepublic.org/
('montanapbs.org', 'MontanaPBS (KUSM)'), # http://montanapbs.org ('video.kmos.org', 'KMOS-TV - Channels 6.1, 6.2 and 6.3 (KMOS)'), # http://www.kmos.org/
('krwg.org', 'KRWG/Channel 22 (KRWG)'), # http://www.krwg.org ('watch.montanapbs.org', 'MontanaPBS (KUSM)'), # http://montanapbs.org
('panhandlepbs.org', 'KACV (KACV)'), # http://www.panhandlepbs.org/home/ ('video.krwg.org', 'KRWG/Channel 22 (KRWG)'), # http://www.krwg.org
('kcostv.org', 'KCOS/Channel 13 (KCOS)'), # www.kcostv.org ('video.kacvtv.org', 'KACV (KACV)'), # http://www.panhandlepbs.org/home/
('wcny.org', 'WCNY/Channel 24 (WCNY)'), # http://www.wcny.org ('video.kcostv.org', 'KCOS/Channel 13 (KCOS)'), # www.kcostv.org
('wned.org', 'WNED (WNED)'), # http://www.wned.org/ ('video.wcny.org', 'WCNY/Channel 24 (WCNY)'), # http://www.wcny.org
('wpbstv.org', 'WPBS (WPBS)'), # http://www.wpbstv.org ('video.wned.org', 'WNED (WNED)'), # http://www.wned.org/
('wskg.org', 'WSKG Public TV (WSKG)'), # http://wskg.org ('watch.wpbstv.org', 'WPBS (WPBS)'), # http://www.wpbstv.org
('wxxi.org', 'WXXI (WXXI)'), # http://wxxi.org ('video.wskg.org', 'WSKG Public TV (WSKG)'), # http://wskg.org
('wpsu.org', 'WPSU (WPSU)'), # http://www.wpsu.org ('video.wxxi.org', 'WXXI (WXXI)'), # http://wxxi.org
('wqln.org', 'WQLN/Channel 54 (WQLN)'), # http://www.wqln.org ('video.wpsu.org', 'WPSU (WPSU)'), # http://www.wpsu.org
('wvia.org', 'WVIA Public Media Studios (WVIA)'), # http://www.wvia.org/ #('wqln.org', 'WQLN/Channel 54 (WQLN)'), # http://www.wqln.org
('wtvi.org', 'WTVI (WTVI)'), # http://www.wtvi.org/ ('on-demand.wvia.org', 'WVIA Public Media Studios (WVIA)'), # http://www.wvia.org/
('whro.org', 'WHRO (WHRO)'), # http://whro.org ('video.wtvi.org', 'WTVI (WTVI)'), # http://www.wtvi.org/
('westernreservepublicmedia.org', 'Western Reserve PBS (WNEO)'), # http://www.WesternReservePublicMedia.org/ #('whro.org', 'WHRO (WHRO)'), # http://whro.org
('wviz.org', 'WVIZ/PBS ideastream (WVIZ)'), # http://www.wviz.org/ ('video.westernreservepublicmedia.org', 'Western Reserve PBS (WNEO)'), # http://www.WesternReservePublicMedia.org/
('kcts9.org', 'KCTS 9 (KCTS)'), # http://kcts9.org/ ('video.ideastream.org', 'WVIZ/PBS ideastream (WVIZ)'), # http://www.wviz.org/
('basinpbs.org', 'Basin PBS (KPBT)'), # http://www.basinpbs.org ('video.kcts9.org', 'KCTS 9 (KCTS)'), # http://kcts9.org/
('houstonpublicmedia.org', 'KUHT / Channel 8 (KUHT)'), # http://www.houstonpublicmedia.org/ ('video.basinpbs.org', 'Basin PBS (KPBT)'), # http://www.basinpbs.org
('tamu.edu', 'KAMU - TV (KAMU)'), # http://KAMU.tamu.edu ('video.houstonpbs.org', 'KUHT / Channel 8 (KUHT)'), # http://www.houstonpublicmedia.org/
('kedt.org', 'KEDT/Channel 16 (KEDT)'), # http://www.kedt.org #('tamu.edu', 'KAMU - TV (KAMU)'), # http://KAMU.tamu.edu
('klrn.org', 'KLRN (KLRN)'), # http://www.klrn.org #('kedt.org', 'KEDT/Channel 16 (KEDT)'), # http://www.kedt.org
('klru.org', 'KLRU (KLRU)'), # http://www.klru.org ('video.klrn.org', 'KLRN (KLRN)'), # http://www.klrn.org
('kmbh.org', 'KMBH-TV (KMBH)'), # http://www.kmbh.org ('video.klru.tv', 'KLRU (KLRU)'), # http://www.klru.org
('knct.org', 'KNCT (KNCT)'), # http://www.knct.org #('kmbh.org', 'KMBH-TV (KMBH)'), # http://www.kmbh.org
('ktxt.org', 'KTTZ-TV (KTXT)'), # http://www.ktxt.org #('knct.org', 'KNCT (KNCT)'), # http://www.knct.org
('wtjx.org', 'WTJX Channel 12 (WTJX)'), # http://www.wtjx.org/ #('ktxt.org', 'KTTZ-TV (KTXT)'), # http://www.ktxt.org
('ideastations.org', 'WCVE PBS (WCVE)'), # http://ideastations.org/ ('video.wtjx.org', 'WTJX Channel 12 (WTJX)'), # http://www.wtjx.org/
('kbtc.org', 'KBTC Public Television (KBTC)'), # http://kbtc.org ('video.ideastations.org', 'WCVE PBS (WCVE)'), # http://ideastations.org/
('video.kbtc.org', 'KBTC Public Television (KBTC)'), # http://kbtc.org
) )
IE_NAME = 'pbs' IE_NAME = 'pbs'
@ -182,13 +183,13 @@ class PBSIE(InfoExtractor):
_VALID_URL = r'''(?x)https?:// _VALID_URL = r'''(?x)https?://
(?: (?:
# Direct video URL # Direct video URL
(?:videos?|watch)\.(?:%s)/(?:viralplayer|video)/(?P<id>[0-9]+)/? | (?:%s)/(?:viralplayer|video)/(?P<id>[0-9]+)/? |
# Article with embedded player (or direct video) # Article with embedded player (or direct video)
(?:www\.)?pbs\.org/(?:[^/]+/){2,5}(?P<presumptive_id>[^/]+?)(?:\.html)?/?(?:$|[?\#]) | (?:www\.)?pbs\.org/(?:[^/]+/){2,5}(?P<presumptive_id>[^/]+?)(?:\.html)?/?(?:$|[?\#]) |
# Player # Player
(?:video|player)\.pbs\.org/(?:widget/)?partnerplayer/(?P<player_id>[^/]+)/ (?:video|player)\.pbs\.org/(?:widget/)?partnerplayer/(?P<player_id>[^/]+)/
) )
''' % '|'.join(list(zip(*_STATIONS))[0]) ''' % '|'.join(re.escape(p) for p in list(zip(*_STATIONS))[0])
_TESTS = [ _TESTS = [
{ {