Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BBC iPlayer category & search problem
#1
The BBC iPlayer will list and run anything from the "Most Popular" category, but for all other categories displays: There are no items for this feed.

When doing a search for a program (e.g. "top of the lake") it returns: There are no results for this query.

Also the ITV player returns "error: 500" for the category: Drama & Soaps
Reply
#2
(07-27-2017, 10:00 PM)SteveDee Wrote: ... the ITV player returns "error: 500" for the category: Drama & Soaps

The ITV Player problem is easily fixed by opening .../blissflixx/chls/bfch_itv_player/__init__.py and changing:-


  {'title':'Drama & Soaps', 'url':'http://www.itv.com/hub/categories/drama-and-soaps'},

...to:-

  {'title':'Drama & Soaps', 'url':'http://www.itv.com/hub/categories/drama-soaps'},
Reply
#3
>>>The ITV Player problem is easily fixed by opening ...

I have added this fix to the code.
Reply
#4
(08-02-2017, 12:03 PM)MrBliss Wrote: >>>The ITV Player problem is easily fixed by opening ...

I have added this fix to the code.

Thanks MrBliss. Any ideas on the BBC iPlayer issue?

I can copy each category url from .../bfch_bbc_iplayer/__init__.py into a web browser and they work fine.
Reply
#5
The reason for the iPlayer problem seems to be that the BBC recently changed the format of its Categories pages.

The solution is to open the .../blissflixx/chls/bfch_bbc_iplayer/__init__.py file and change:-
Code:
 for l in rtree:
   a = select_one(l, 'a')
   url = get_attr(a, 'href')
   if url is None or not url.startswith('/iplayer'):
     continue
   url = "http://www.bbc.co.uk" + url

...to:-

Code:
for l in rtree:
  a = select_one(l, 'a')
  url = get_attr(a, 'href')
  if url is None:
    continue
  if url.startswith('/iplayer'):    
    url = "http://www.bbc.co.uk" + url
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)