[29.11.05] WebEPG 0.2.0 update on website (4 Viewers)

Zyphrax

Portal Pro
October 7, 2005
56
0
Netherlands
As a Response to the 403 Forbidden problem of Artman. A lot of websites send 403 Forbidden when no valid User Agent was supplied. To fix that supply a User Agent as demonstrated below:

Code:
HttpWebRequest webRequest = (HttpWebRequest) HttpWebRequest.Create("http://whatever.youlike.com");

webRequest.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"; 

webResponse = webRequest.GetResponse(); 
stream = webResponse.GetResponseStream();
streamReader = new StreamReader(stream, Encoding.ASCII);
pageHtml = streamReader.ReadToEnd();

In this C# example the WebRequest pretends to be an Internet Explorer browser. I had the same problem creating a Teletext grabber.
 

James

Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi all,

    New release today.

    Beta 0.1.4 18/10/2005

    Fixed:
    - Problems with the time and date transitions.

    Grabbers:
    - UK directory renamed to GB (ISO standard).
    - GB channel more 4 added.
    - PT all channels added.
    - NL tvgids.nl nows has 7 day guide data

    As its been a long time coming there are mostly likely many other smaller changes that I cannot remeber.

    Cheers,

    /James
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi Artman,

    I'm a little lost about what is wrong, or if there is even a problem?

    However, the http://gids.omroep.nl/ site would be good for getting the talpa and nick guide together. I have had a look at this site and believe it should be possible to make a config for WebEPG for this site.

    Cheers,

    /James
     

    tomtom21000

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,226
    120
    Germany
    James said:
    Hi all,

    New release today.

    Beta 0.1.4 18/10/2005

    Fixed:
    - Problems with the time and date transitions.

    Grabbers:
    - UK directory renamed to GB (ISO standard).
    - GB channel more 4 added.
    - PT all channels added.
    - NL tvgids.nl nows has 7 day guide data

    As its been a long time coming there are mostly likely many other smaller changes that I cannot remeber.

    Cheers,

    /James

    James, I believe your update is also in the cvs versions of mp? Cause I tried cvs from friday and am not sure if this contains your changes?
    I still have minor problems with some german channels like no indo (südwest3) and false info like RTLII.
    Have make some checks, but hardly find the time at the moment.
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi Tom,

    The CVS includes some files from WebEPG but not all. It now includes the grabber and channel directories in a new WebEPG directory. The webepg.dll is in the main mediaportal directory. This is due to the intergration of WebEPG into the new setup wizard.

    The main programs are missing and need to be compiled seperatly.

    So maybe try downloading the 0.1.4 package. I am very interested to know about any bugs.

    I am seeing some very small time/date bugs coming up on some channels from fernsehen.ch.

    Cheers,

    /James
     

    wortelsoft

    Portal Pro
    May 13, 2005
    374
    1
    48
    Rotterdam, The Netherlands
    Home Country
    Netherlands Netherlands
    Hi James the dutch channel yorin has changed there name in to RTL 7.
    So the xml file needs to be changed. I've done this in my file and now everything works fine again.

    old:
    <entry name="yorin.nl">46</entry>

    new:
    <entry name="rtl7.nl">46</entry>
     

    Users who are viewing this thread

    Top Bottom