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

Struggling with from: text: parsing of an ICS file

$
0
0

@Patrick wrote:

Hi all -

I'm trying to use an ICS file from next-episodes.net as input. The format of the pertinent line is as follows:

SUMMARY:Star Wars Rebels - s03e02

I've been trying to parse that and I'm getting stuck; I can't understand how to pass the season/episode data to discover...

The parsing line I'm currently using looks like this:

 entry:
            title: ^SUMMARY:(.*) - s([0-9][0-9])e([0-9][0-9]).*$
            url: ^SUMMARY:(.*) - s([0-9][0-9])e([0-9][0-9]).*$

and the log file looks like this - no indication that it knows the season or episode... what am I doing wrong?

Thanks in advance!

2016-09-16 16:41 DEBUG    text          downloads_search found field: url value: Star Wars Rebels
2016-09-16 16:41 DEBUG    text          downloads_search found field: title value: Star Wars Rebels
2016-09-16 16:41 DEBUG    text          downloads_search Added entry <Entry(title=Star Wars Rebels,state=undecided)>
2016-09-16 16:41 DEBUG    text          downloads_search found field: url value: Star Wars Rebels
2016-09-16 16:41 DEBUG    text          downloads_search found field: title value: Star Wars Rebels
2016-09-16 16:41 DEBUG    text          downloads_search Added entry <Entry(title=Star Wars Rebels,state=undecided)>
2016-09-16 16:41 DEBUG    text          downloads_search found field: url value: Star Wars Rebels
2016-09-16 16:41 DEBUG    text          downloads_search found field: title value: Star Wars Rebels
2016-09-16 16:41 DEBUG    text          downloads_search Added entry <Entry(title=Star Wars Rebels,state=undecided)>
2016-09-16 16:41 DEBUG    text          downloads_search found field: url value: Star Wars Rebels
2016-09-16 16:41 DEBUG    text          downloads_search found field: title value: Star Wars Rebels
2016-09-16 16:41 DEBUG    text          downloads_search Added entry <Entry(title=Star Wars Rebels,state=undecided)>
2016-09-16 16:41 DEBUG    series        downloads_search connecting series Star Wars Rebels to task downloads_search
2016-09-16 16:41 DEBUG    series        downloads_search get_latest_release returning None, no downloaded episodes found for: Star Wars Rebels
2016-09-16 16:41 DEBUG    series        downloads_search get_latest_release returning None, no downloaded episodes found for: Star Wars Rebels
2016-09-16 16:41 DEBUG    est_released  downloads_search Star Wars Rebels S01E01
2016-09-16 16:41 DEBUG    est_series_tvmaze downloads_search Searching TVMaze for airdate of Star Wars Rebels season 1 episode 1
2016-09-16 16:41 DEBUG    est_series_tvmaze downloads_search show_name: Star Wars Rebels
2016-09-16 16:41 DEBUG    est_series_tvmaze downloads_search series_name: Star Wars Rebels
2016-09-16 16:41 DEBUG    api_tvmaze    downloads_search returning search params for series lookup: {u'tvdb_id': None, u'tvmaze_id': None, u'name': u'Star Wars Rebels', u'tvrage_id': None}
2016-09-16 16:41 DEBUG    api_tvmaze    downloads_search searching db tvmaze_series for the values [(u'tvdb_id', None), (u'tvmaze_id', None), (u'name', u'Star Wars Rebels'), (u'tvrage_id', None)]
2016-09-16 16:41 DEBUG    api_tvmaze    downloads_search returning series Star Wars Rebels from cache
2016-09-16 16:41 DEBUG    api_tvmaze    downloads_search searching for episode of show Star Wars Rebels in cache
2016-09-16 16:41 DEBUG    api_tvmaze    downloads_search found episode id 9030, number 1, season 1 for show Star Wars Rebels in cache
2016-09-16 16:41 DEBUG    discover      downloads_search Star Wars Rebels S01E01 has been released at 2014-10-13 00:00:00

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles