@stormwatch wrote:
Hi. I am trying to set up fexget to download from an atom feed created by Tiny Tiny RSS that groups all the podcasts I am interested in. A sample entry would look like the following:
<entry> <id>tag:xxxx.sn.mynetname.net,2018-11-16:/37550</id> <link href="https://avdlswr-a.akamaihd.net/swr/swr2/musik/musikstueck-der-woche/download/wolfgang-amadeus-mozart-konzert-fuer-horn-und-orchester-nr-4-es-dur-swr-musikstueck.l.mp3" rel="alternate" type="text/html"/> <title type="html">Wolfgang Amadeus Mozart: Konzert für Horn und Orchester Nr. 4 Es-Dur</title> <summary type="html"><![CDATA[<p>Felix Klieser (Horn), Staatsorchester Rheinische Philharmonie, Leitung: Paul Goodwin.Konze...</p>]]></summary> <content type="html"><![CDATA[<p>Felix Klieser (Horn), Staatsorchester Rheinische Philharmonie, Leitung: Paul Goodwin.Konzert vom 16.9.2016 in der Rhein-Mosel-Halle, Koblenz. SWR2-Musikstück der Woche vom 17.11.2018</p>]]></content> <updated>2018-11-16T16:00:00+00:00</updated> <author><name>online@swr2.de (Wolfgang Amadeus Mozart)</name></author> <source> <id>http://www.swr.de/swr2/musik/musikstueck/-/id=2937886/1e3uk7m/index.html</id> <link rel="self" href="http://www.swr.de/swr2/musik/musikstueck/-/id=2937886/1e3uk7m/index.html"/> <updated>2018-11-16T16:00:00+00:00</updated> <title>SWR2 Musikstück der Woche</title></source> <link rel="enclosure" type="audio/mpeg" length="31016884" href="https://avdlswr-a.akamaihd.net/swr/swr2/musik/musikstueck-der-woche/download/wolfgang-amadeus-mozart-konzert-fuer-horn-und-orchester-nr-4-es-dur-swr-musikstueck.l.mp3"/> </entry>
I'd like to be able to download every entry to a directory named after the source.title property, in this case:
<title>SWR2 Musikstück der Woche</title>
And the download path for that particular entry would then be: "/my/path/SWR2 Musikstück der Woche"Beeing a complete newbie, I tried something optimistic like:
download:
path: /mnt/pool/audio/{{source.title}}Of course that won't work and will yeld this error:
...could not set path. Error during string replacement: (UndefinedError) 'source' is undefined
But at least it will give you the idea of what I am trying to accomplish.
Thanks
Posts: 1
Participants: 1