pictuga / morss

Get full text RSS feeds
https://morss.it/
GNU Affero General Public License v3.0
621 stars 75 forks source link

vars in url are ignored #88

Closed HasClass0 closed 2 years ago

HasClass0 commented 2 years ago

Hello, Since about 2 days, it looks like vars in urls like "...&category=4..." are ignored when setting the Xpath rule. So the returned feed for a category has all the site publications. Or the crawled site return an error, so the Xpath rule setting interface does not show the target.

examples: https://morss.it/:items=||*[class=tgxtablecell]||a|b/https:/torrentgalaxy.to/torrents.php?c41=1&c11=1&c6=1&lang=0&nox=1&search= ==>> OK for setting the Xpath rule, but on the index page, the results are not filtered.

https://torrentgalaxy.to/torrents-hotpicks.php?cat=3 ==>> Category/ID ignored: error message -> can't set the Xpath rule.

I take this opportunity to thank you for this very usefull tool.

pictuga commented 2 years ago

Hey! Thanks for reporting. Probably a regression from d6b90448f3db. Will look at it in the coming days. The work-in-progress auto testing (pytest) should avoid such regressions moving forward.

HasClass0 commented 2 years ago

Ok. Thanks again for your work. :1st_place_medal:

HasClass0 commented 2 years ago

Back to normal for me. :ok_hand: Thanks for the update.

pictuga commented 2 years ago

Welcome! Fixed in 4d64afe9cb. I've added tests related to URL handling to avoid future regressions on this.