File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " Apple Podcasts"
2+ homepage : " https://podcasts.apple.com/"
3+ host : podcasts.apple.com
4+ example :
5+ - https://podcasts.apple.com/us/podcast/the-office-deep-dive-with-brian-baumgartner/id1550331348
6+ - https://podcasts.apple.com/us/podcast/the-office-deep-dive-with-brian-baumgartner/id1550331348?i=1000514199106
7+ extract :
8+ - " @podcasts.apple.com/(?'country'\\ w+)/podcast/[-\\ w%]*/id(?'podcast_id'\\ d+)(?:\\ ?i=(?'episode_id'\\ d+))?@"
9+ choose :
10+ when :
11+ test : ' @episode_id'
12+ iframe :
13+ allow : " autoplay *;encrypted-media *"
14+ width : " 100%"
15+ height : " 175"
16+ max-width : " 900"
17+ src : " https://embed.podcasts.apple.com/{@country}/podcast/episode/id{@podcast_id}?i={@episode_id}"
18+ otherwise :
19+ iframe :
20+ allow : " autoplay *;encrypted-media *"
21+ width : " 100%"
22+ height : " 450"
23+ max-width : " 900"
24+ src : " https://embed.podcasts.apple.com/{@country}/podcast/episode/id{@podcast_id}"
25+ tags : " podcasts"
You can’t perform that action at this time.
0 commit comments