Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

How to get poster image link in podcast rss feed

$
0
0

@BigBen wrote:

First, thanks to all the developers who contribute to this project.

Am using flexget to fetch rss feeds for tech podcasts like TWIT, Cordkillers, etc

Am using telegram for notifications, and it works great. I have succeeded extracting the rss fields e.g. title, description, rss_pubdate, category and duration (some)

Here's the problem, I cant seem to get other_fields like "itunes:image", "itunes:duration", and "itunes:summary" etc, which I used in most rss feeds. Am especially interested in extracting the poster image URL that appears at the top of each rss feed, so when I send a telegram, its included. Is this possible with the rss plugin? I tried using manipulate as seen below, to get it from the description, but its flaky as some podcasters dont include the poster image in that tag

Any ideas on how I should go about this?

config.yaml

podcasts:
exec:
allow_background: yes
auto_escape: yes
on_start:
phase:
- echo "Fetching my podcasts"
on_output:
for_accepted:
- echo "{{podcast_image_url}}"

manipulate:
  - podcast_image_url:
      from: description
      extract: '<img[^>]+src="([^">]+)"'

no_entries_ok: yes
limit_new: 5
priority: 5
include: [ '{? podcasts.include ?}' ]


accept_all: yes

podcasts - include

  • rss: { url: 'http://feeds.twit.tv/floss_video_small.xml', other_fields: ['itunes:summary', 'itunes:subtitle', 'itunes:image', 'itunes:duration', 'itunes:episode', 'itunes:category', 'category', 'pubDate', 'lastBuildDate'], all_entries: no, silent: yes }

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles