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

Notify template help

$
0
0

@chewy74 wrote:

Can someone tell me how to get rid of these <p>, </p> from this please?
My notify template is

      telegram_notify:
        thetvdb_lookup: yes
        tvmaze_lookup: yes
        imdb_lookup: yes
        tmdb_lookup: yes
        notify:
          entries:
            title: 'flexget {{task}}'
            message: |+
              {% if series_name is defined -%}
              *{{series_name}}* - {{series_id}} - {{quality|d('')}}
              *{{tvmaze_ep_name|d(tvdb_ep_name)|d('')}}*
              *Air date:* {{tvdb_ep_air_date|d(tvmaze_episode_airdate)|d('')}}
              *Summary:*  {{tvmaze_episode_summary|d(tvdb_ep_overview)|d('')}}
              [Image]({{tvmaze_series_original_image|replace("_", "%5F")}})
              [Show page]({{tvmaze_series_url|replace("_", "%5F")}})
              {% elif imdb_name is defined -%}
              *{{imdb_name}}* - ({{imdb_year}})
              {{quality|d('')}}
              {{imdb_score}}/10 - {{imdb_votes}} votes
              {{imdb_genres|join(', ')|title}} 
              *Plot:* {{imdb_plot_outline}}
              [Image]({{tmdb_posters[0]|replace("_", "%5F")}})
              [Movie Page]({{imdb_url|d('')}})
              {% else -%}
              {{title}}
              {%- endif -%}
            via:
             - telegram:
                 bot_token: '{? telegram.token ?}'
                 parse_mode: markdown
                 disable_previews: no
                 recipients:
                   - username: '{? telegram.usr ?}'

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles