Update tvguide.com guide.
Test: ```sh npm test --- tvguide.com > test > run-script-os tvguide.com > test:win32 > SET "TZ=Pacific/Nauru" && npx jest --runInBand tvguide.com PASS sites/tvguide.com/tvguide.com.test.js √ can generate valid url (4 ms) √ can parse response (5 ms) √ can handle empty guide (1 ms) Test Suites: 1 passed, 1 total Tests: 3 passed, 3 total Snapshots: 0 total Time: 0.567 s, estimated 1 s Ran all test suites matching /tvguide.com/i. ``` Grab: ```sh npm run grab --- --site=tvguide.com > grab > npx tsx scripts/commands/epg/grab.ts --site=tvguide.com starting... config: output: guide.xml maxConnections: 1 gzip: false site: tvguide.com loading channels... found 1 channel(s) run #1: [1/2] tvguide.com (es) - UnivisionEast.us - Jan 12, 2025 (33 programs) [2/2] tvguide.com (es) - UnivisionEast.us - Jan 13, 2025 (25 programs) saving to "guide.xml"... done in 00h 00m 05s ``` Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
11 files changed
+311
-463
No files matched your search
@@ -0,0 +1,7 @@
|
||||
|
||||
<!doctype html>
|
||||
<html data-n-head-ssr lang="en" data-n-head="%7B%22lang%22:%7B%22ssr%22:%22en%22%7D%7D">
|
||||
<body >
|
||||
<script>window.__NUXT__=(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H){k.pageType=g;k.id="tv-listings";k.queryParams={};k.meta={brand:b,contentType:b,datePublished:b,dateUpdated:b,description:b,displayDatePublished:b,displayDateUpdated:b,edition:h,image:b,noIndex:c,isAiring:c,isStreaming:c,pageType:b,primaryCollection:b,publishDate:b,section:g,seoMetaDescription:b,seoOgDescription:b,seoOgImage:b,seoOgTitle:b,seoTwitterCard:b,seoTwitterCreator:b,seoTwitterDescription:b,seoTwitterImage:b,seoTwitterImageAlt:b,seoOgImageHeight:b,seoOgImageWidth:b,seoTwitterTitle:b,seoTwitterSite:b,site:b,slug:"tv-listings",suppressAds:c,tags:[],title:"TV Guide, TV Listings, Online Videos, Entertainment News and Celebrity News",titleTag:"TV Guide, TV Listings, Online Videos, Entertainment News and Celebrity News",topics:[],type:b,typeName:g,celebrity:b,feat:b,movie:b,network:b,show:b};k.components=[{id:"50b83a81-50ee-4d0a-861f-78660842d132",meta:{componentName:"navigation-bar-featured-video",componentDisplayName:"TV Guide News",componentType:"VideoList"},metadata:{},links:{self:{href:"https:\u002F\u002Finternal-prod.apigee.fandom.net\u002Fv1\u002Fxapi\u002Fcomponents\u002Ftvguide\u002Flisting\u002Fcurated\u002Fnavigation-bar-featured-video\u002Fweb?apiKey=DI9elXhZ3bU6ujsA2gXEKOANyncXGUGc&componentName=navigation-bar-featured-video&componentType=VideoList&componentDisplayName=TV%20Guide%20News"}},items:[{captions:[],description:"The cast and showrunners discuss what it was like to film the feast in Episode 2 and the meaning behind the dream sequence",displayDatePublished:b,duration:440,files:[{format:b,height:540,id:"2da96cdc-5bfb-4f97-94ae-689276fe6223",type:b,typeName:"content_video_file",url:"https:\u002F\u002Fcontent.jwplatform.com\u002Fvideos\u002FDkE48uY2-xYLOcIg0.mp4",width:960,audioBitrate:"192",audioChannels:"2",audioCodec:"AAC",bitrate:946,dateCreated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},dateUpdated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},device:b,downloadUrl:b,duration:440,frameRate:b,language:b,mpxAssetType:b,mpxFormat:b,mpxIngestId:b,mpxIngestPublicId:b,mpxOutletPublicId:b,mpxPublicId:b,size:52053678,sourceUrl:b,streamingUrl:"https:\u002F\u002Fcontent.jwplatform.com\u002Fvideos\u002FDkE48uY2-xYLOcIg0.mp4",videoBitrate:946,videoCodec:"H_264",videoFormat:b},{format:b,height:720,id:"d2173919-92d9-4c8d-9489-e3bc86b0dcc2",type:b,typeName:"content_video_file",url:"https:\u002F\u002Fcontent.jwplatform.com\u002Fvideos\u002FDkE48uY2-9FHNypdo.mp4",width:1280,audioBitrate:"192",audioChannels:"2",audioCodec:"AAC",bitrate:1470,dateCreated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},dateUpdated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},device:b,downloadUrl:b,duration:440,frameRate:b,language:b,mpxAssetType:b,mpxFormat:b,mpxIngestId:b,mpxIngestPublicId:b,mpxOutletPublicId:b,mpxPublicId:b,size:80861199,sourceUrl:b,streamingUrl:"https:\u002F\u002Fcontent.jwplatform.com\u002Fvideos\u002FDkE48uY2-9FHNypdo.mp4",videoBitrate:1470,videoCodec:"H_264",videoFormat:b},{format:b,height:360,id:"e0d12800-27da-4183-b968-64f0aae97e41",type:b,typeName:"content_video_file",url:"https:\u002F\u002Fcontent.jwplatform.com\u002Fvideos\u002FDkE48uY2-OlCuvTjO.mp4",width:640,audioBitrate:"192",audioChannels:"2",audioCodec:"AAC",bitrate:540,dateCreated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},dateUpdated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},device:b,downloadUrl:b,duration:440,frameRate:b,language:b,mpxAssetType:b,mpxFormat:b,mpxIngestId:b,mpxIngestPublicId:b,mpxOutletPublicId:b,mpxPublicId:b,size:29732175,sourceUrl:b,streamingUrl:"https:\u002F\u002Fcontent.jwplatform.com\u002Fvideos\u002FDkE48uY2-OlCuvTjO.mp4",videoBitrate:540,videoCodec:"H_264",videoFormat:b},{format:b,height:180,id:"eb7ac06d-153b-4e6d-8f20-7eebda5faa72",type:b,typeName:"content_video_file",url:"https:\u002F\u002Fcontent.jwplatform.com\u002Fvideos\u002FDkE48uY2-tEFfEv6q.mp4",width:320,audioBitrate:"192",audioChannels:"2",audioCodec:"AAC",bitrate:302,dateCreated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},dateUpdated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},device:b,downloadUrl:b,duration:440,frameRate:b,language:b,mpxAssetType:b,mpxFormat:b,mpxIngestId:b,mpxIngestPublicId:b,mpxOutletPublicId:b,mpxPublicId:b,size:16664476,sourceUrl:b,streamingUrl:"https:\u002F\u002Fcontent.jwplatform.com\u002Fvideos\u002FDkE48uY2-tEFfEv6q.mp4",videoBitrate:302,videoCodec:"H_264",videoFormat:b},{format:b,height:270,id:"ec360b8e-2f22-40b0-a3ca-ccc7da201f83",type:b,typeName:"content_video_file",url:"https:\u002F\u002Fcontent.jwplatform.com\u002Fvideos\u002FDkE48uY2-hQrJ3ilF.mp4",width:480,audioBitrate:"192",audioChannels:"2",audioCodec:"AAC",bitrate:463,dateCreated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},dateUpdated:{date:"2023-04-04 16:19:29",timezone:"UTC",timezone_type:3},device:b,downloadUrl:b,duratiLine truncated
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user