You are here

Error trying to pull from directtv.com

7 posts / 0 new
Last post
matrixebiz
Offline
Joined: 8 years
Last seen: 8 years
Error trying to pull from directtv.com

Hello, what does this error mean?

channel WABC (New York) ABC HD East site -- DIRECTV.COM -- update mode smart
unable to update channel WABC (New York) ABC HD East

System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at WebGrab.Program.UpdateChannel(String strIndex, ChannelToUpdate Chan, XmlTarget xTarget)
   at WebGrab.Program.Main(String[] args)

I'm looking to get the following channel, if someone can help. Thx

[code]

<channel update="i" site="directv.com" site_id="396" xmltv_id="WABC (New York) ABC HD East (ABCeHD)">WABC (New York) ABC HD East (ABCeHD)</channel>
    <channel update="i" site="directv.com" site_id="396" xmltv_id="WABC (New York) ABC East (ABCe)">WABC (New York) ABC East (ABCe)</channel>
    <channel update="i" site="directv.com" site_id="311" xmltv_id="ABC Family HD (ABCFHD)">ABC Family HD (ABCFHD)</channel>
    <channel update="i" site="directv.com" site_id="311" xmltv_id="ABC Family Channel (ABCF)">ABC Family Channel (ABCF)</channel>
    <channel update="i" site="directv.com" site_id="829" xmltv_id="WCBS (New York) CBS HD East (CBSeHD)">WCBS (New York) CBS HD East (CBSeHD)</channel>
    <channel update="i" site="directv.com" site_id="830" xmltv_id="WCBS (New York) CBS East (CBSe)">WCBS (New York) CBS East (CBSe)</channel>
    <channel update="i" site="directv.com" site_id="394" xmltv_id="WDCW (Washington D.C.) CW (CWe)">WDCW (Washington D.C.) CW (CWe)</channel>
    <channel update="i" site="directv.com" site_id="395" xmltv_id="XETV (San Diego) CW West (CWw)">XETV (San Diego) CW West (CWw)</channel>
    <channel update="i" site="directv.com" site_id="843" xmltv_id="WNYW (New York) FOX HD East (FOXeHD)">WNYW (New York) FOX HD East (FOXeHD)</channel>
    <channel update="i" site="directv.com" site_id="844" xmltv_id="WNYW (New York) FOX East (FOXe)">WNYW (New York) FOX East (FOXe)</channel>
    <channel update="i" site="directv.com" site_id="833" xmltv_id="WNBC (New York) NBC HD East (NBCeHD)">WNBC (New York) NBC HD East (NBCeHD)</channel>
    <channel update="i" site="directv.com" site_id="834" xmltv_id="WNBC (New York) NBC East (NBCe)">WNBC (New York) NBC East (NBCe)</channel>
    <channel update="i" site="directv.com" site_id="828" xmltv_id="PBSNET (PBS)">PBSNET (PBS)</channel>
    <channel update="i" site="directv.com" site_id="254" xmltv_id="AMC HD (AMCHD)">AMC HD (AMCHD)</channel>
    <channel update="i" site="directv.com" site_id="254" xmltv_id="AMC (amc)">AMC (amc)</channel>
    <channel update="i" site="directv.com" site_id="237" xmltv_id="Bravo HD (BRVOHD)">Bravo HD (BRVOHD)</channel>
    <channel update="i" site="directv.com" site_id="237" xmltv_id="Bravo (BRVO)">Bravo (BRVO)</channel>
    <channel update="i" site="directv.com" site_id="795" xmltv_id="CNBC HD (CNBCHD)">CNBC HD (CNBCHD)</channel>
    <channel update="i" site="directv.com" site_id="796" xmltv_id="CNBC (CNBC)">CNBC (CNBC)</channel>
    <channel update="i" site="directv.com" site_id="345" xmltv_id="Food Network HD (foodHD)">Food Network HD (foodHD)</channel>
    <channel update="i" site="directv.com" site_id="346" xmltv_id="Food Network (Food)">Food Network (Food)</channel>
    <channel update="i" site="directv.com" site_id="258" xmltv_id="FX Movie (FXM)">FX Movie (FXM)</channel>
    <channel update="i" site="directv.com" site_id="438" xmltv_id="History Channel HD (HISTHD)">History Channel HD (HISTHD)</channel>
    <channel update="i" site="directv.com" site_id="439" xmltv_id="History Channel (HIST)">History Channel (HIST)</channel>
    <channel update="i" site="directv.com" site_id="373" xmltv_id="Syfy Channel HD (SyfyHD)">Syfy Channel HD (SyfyHD)</channel>
    <channel update="i" site="directv.com" site_id="374" xmltv_id="Syfy Channel (Syfy)">Syfy Channel (Syfy)</channel>
    <channel update="i" site="directv.com" site_id="370" xmltv_id="USA Network HD (USAHD)">USA Network HD (USAHD)</channel>
    <channel update="i" site="directv.com" site_id="371" xmltv_id="USA Network (USA)">USA Network (USA)</channel> [/code]

matrixebiz
Offline
Joined: 8 years
Last seen: 8 years

Hello, yes, I did the instrucions and needed to update the Cookie file now but I'm getting this today using the following format;

<channel update="i" site="directv.com" site_id="396" xmltv_id="WABC (New York) ABC East">WABC (New York) ABC East</channel>

 

WebGrab+Plus/w MDB & REX Postprocess -- version 1.54.6/0.01 -- Jan van Straaten
-------------------------------------------------------------------------------
job started at 4/20/2016 11:10:54 AM

reading config file: C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml
loading timezone data
embedded timezones source: Webgrab_Plus.TimezonesData.txt
found: C:\ProgramData\ServerCare\WebGrab\directv.com.ini -- Revision 10
reading cookie file : C:\ProgramData\ServerCare\WebGrab\directv.com.cookies.txt

running on Microsoft Windows NT 6.1.7601 Service Pack 1

xmltv input file - C:\ProgramData\ServerCare\WebGrab\guide.xmltv - found
0 superfluous shows removed
update requested for - 1 - out of - 1 - channels and for 3 day(s)
update mode full - for all channels

channel WABC (New York) ABC East site -- DIRECTV.COM -- update mode full
unable to update channel WABC (New York) ABC East

System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at WebGrab.Program.UpdateChannel(String strIndex, ChannelToUpdate Chan, XmlTarget xTarget)
   at WebGrab.Program.Main(String[] args)

0 shows in 1 channels
0 updated shows
0 new shows added
job finished at 4/20/2016 11:10:57 AM done in 2 seconds

matrixebiz
Offline
Joined: 8 years
Last seen: 8 years

I tried to run the dummy file agian;

channel dummy site -- DIRECTV.COM -- update mode full

     no indexpage for this channel!
Cannot find any shows on the Index Page !

   Summary for update of dummy
     no changes, no update necessary !
     unchanged shows inspected 0
     total after update        0

0 shows in 1 channels
0 updated shows
0 new shows added
job finished at 4/20/2016 11:16:14 AM done in 8 seconds

matrixebiz
Offline
Joined: 8 years
Last seen: 8 years

Hello, I installed that but still getting 'no shows in indexpage!'; :(

[        ] 
[        ]             WebGrab+Plus/w MDB & REX Postprocess -- version V1.56.22            
[        ] 
[        ]                                 Jan van Straaten                                
[        ]                              Francis De Paemeleere                              
[        ] 
[        ]             thanks to Paul Weterings and all the contributing users             
[        ] --------------------------------------------------------------------------------
[        ] 
[        ] Job started at 20/04/2016 12:14:25
[  Debug ] 
[  Debug ] Running  on: Microsoft Windows NT 6.1.7601 Service Pack 1
[  Debug ] Environment: 4.0.30319.42000
[  Debug ] 
[  Debug ] Loading timezone data
[  Debug ] Embedded timezones source: WGconsole.WG.Common.timezonesdata.txt
[  Debug ] Reading config file: C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml
[  Debug ] Reading cookie file: C:\ProgramData\ServerCare\WebGrab\directv.com.cookies.txt
[  Info  ] found: C:\ProgramData\ServerCare\WebGrab\directv.com.ini -- Revision 10
[  Debug ] xmltv input file - C:\ProgramData\ServerCare\WebGrab\guide.xmltv - found
[  Debug ] 0 superfluous shows removed
[  Info  ] 
[  Info  ] 
[  Info  ]       i=index  .=same  c=change  g=gab  r=replace  n=new
[  Info  ] 
[  Info  ] 
[  Info  ] Group (0) :
[  Info  ] update requested for - 1 - out of - 1 - channels for 3 day(s)
[  Debug ] 
[  Info  ] (   1/1   ) DIRECTV.COM -- chan. (xmltv_id=dummy) -- mode Force
[Error   ] no shows in indexpage!
[  Info  ] 
[  Debug ] 
[  Debug ] 0 shows in 1 channels
[  Debug ] 0 updated shows
[  Debug ] 0 new shows added
[  Info  ] 
[  Info  ] 
[        ] Job finished at 20/04/2016 12:14:34 done in 8s
[  Debug ] statistics upload error: The remote server returned an error: (500) Internal Server Error.

 

matrixebiz
Offline
Joined: 8 years
Last seen: 8 years

Yes, I'm trying to donwload the latest : directv.com.ini.xml file to get the list of channels.

matrixebiz
Offline
Joined: 8 years
Last seen: 8 years

Yes, I'm trying to donwload the latest : directv.com.channels.xml file to get the list of channels following the instructions;

Jan van Straaten , 26/10/2015

How to create a localised channellist file for directv.com and create the necessary cookie file to grab data from local channels

Notice! The following procedure might not work with IE. We experienced problems with it which is caused by the fact that this site provides cookies in a non standard format. IE and Firefox both have problems while exporting these cookies. For firefox we were able to solve these problems with a update op WG++. (1.1.1/55.6) 

1. In your browser goto https://www.directv.com/guide?lpos=Header:1
2. Enter your zip code eg 94102 for San Francisco or 60601 for Chicago, eventually enter County if asked.
3. Wait for the webpage to complete.
4. Export the cookies to a file named directv.com.cookies.txt in the same folder as the config file. Follow the instructions as in http://webgrabplus.com/documentation/configuration/cookie
5. Open directv.com.ini . Near the bottom is the section that creates channelist files
    Enable the lines there by removing the first *
6. Add one dummy channel in your config 
    <channel update="i" site="directv.com" site_id="" xmltv_id="dummy">dummy</channel>
7. run wg++
8. If all is well you have created a channellist file for your location
    directv.com.channels.xml
9. Revert the actions of 5.

Notice:  you will need the cookie file created in 4 also to grab guide data from these local channels.

    Done
    

Jan 

matrixebiz
Offline
Joined: 8 years
Last seen: 8 years

Oh, ok, I tried the channel EPG extract agian after doing the Beta update as you recommended and it's working now :) Thank you

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl