this works. removing video articles is unnecessary, you could just skip over to next article.
Code:
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe673238347(BasicNewsRecipe):
title = 'Aeon'
oldest_article = 30
max_articles_per_feed = 100
auto_cleanup = True
feeds = [
('aeon', 'https://aeon.co/feed.rss'),
]
def print_version(self, url):
if '/videos/' in url:
return ''
else:
return url