Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

RSS with a 'windows-1251' encoding

$
0
0

@Danil wrote:

I need to download torrents, using some rss-feed. There are a correct title and a correct torrent-link. But there is a 'windows-1251' encoding, so flexget ignores (skips) all cyrillic characters.
RSS has the following header:

<?xml version="1.0" encoding="windows-1251"?>
<rss version="2.0">
...

I have the following config:

tasks:
  nnm-club:
    rss:
      url: http://nnm-club.name/forum/rss2.php?f=218&t=1&uk=************
      other_fields: [description]
      ascii: yes
    accept_all: yes
    manipulate:
      - kinopoisk_id:
          from: description
          replace:
            regexp: '(.|\n)*kinopoisk.ru/rating/([0-9]+)(.|\n)*'
            format: '\2'
    kinopoisk:
      min_score: 7.0
      min_votes: 5000
    template:
      - global
      - movies

Maybe I can convert the title from windows-1251 to utf-8? Or some another way?
Please, help.

P.S. kinopoisk is analog of imdb.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles