XMLTV / xmltv

Utilities to obtain, generate, and post-process TV listings data in XMLTV format
GNU General Public License v2.0
275 stars 93 forks source link

tv_grab_ch_search: broken due to upstream site changes #109

Closed knowledgejunkie closed 4 years ago

knowledgejunkie commented 4 years ago

Thanks for taking the time to report an issue. Please take a moment to review our open/closed issues above, in case your issue has already been reported.

If you are reporting a new issue, please give your issue a descriptive title and fill out the blanks below, providing as much information as possible.

XMLTV Version?

0.6.2

XMLTV Component?

tv_grab_ch_search

What happened?

Grabber fails when retrieving programmes. Initial configuration and channel selection still works.

What did you expect to happen?

Download programme listings

Did you see any warnings/errors?

test_grabbers --only ch_search fails with 'noprogrammes'

What steps are needed to reproduce this issue?

  1. configure grabber with channels
  2. run grabber

Any other information?

This is a new issue first observed during testing on 2020-08-22

What other software are you using?

Operating System: Debian bullseye/sid

Perl Version: 5.30.3

bhaak commented 4 years ago

Looks like HTML::TreeBuilder's look_down method can't cope with having multiple classes in the class attribute. That's quite unexpected behavior from code that parses HTML.

I fixed this in cb029fc6, test_grabber --only ch_search worked fine with this fix.