question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lostfilm plugin is broken after implementing DDoS protection on site

See original GitHub issue

Expected behaviour:

Lostfilm new series download

Actual behaviour:

2019-04-24 12:58 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=258&e=19&s=4
2019-04-24 12:58 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=214&e=17&s=6

Steps to reproduce:

run flexget with config in daemon mode

Config:

schedules:
  - tasks: 'lostfilm-dwnld'
    interval:
      minutes: 3
  - tasks: 'clean-torr'
    interval:
      minutes: 15

templates:
  tv-show-std:
    series:
      settings:
        '720p':
          identified_by: ep
        '1080p':
          identified_by: ep
    transmission:
      username: '{? transmission.usr ?}'
      password: '{? transmission.pwd ?}'
      path: '/the path/{{series_name|re_replace("^[ ]*((The) )(.+?)[ ]*$","\\3, \\2")|re_replace("[<>:\"/\\\\|?*]+","-")|re_replace("^[. ]+|[. ]+$", "")}}/{{ series_season | pad(2) }}'
    exec:
      on_exit:
        for_accepted: >
          /the_path2/new_ep_not.sh
          "{{series_name}}" "{% if series_name_rus is defined %}{{series_name_rus}}{%endif%}"
          "{{series_season}}" "{{series_episode}}"
          "{{series_id}}"
          "{% if episode_name_eng is defined %}{{episode_name_eng}}{%endif%}"
          "{% if episode_name_rus is defined %}{{episode_name_rus}}{%endif%}"
          "{{content_size}}"

tasks:
  clean-torr:
    from_transmission:
      username: '{? transmission.usr ?}'
      password: '{? transmission.pwd ?}'
    disable: [seen, seen_info_hash]
    if:
      - transmission_progress < 100: reject
      - transmission_date_done + timedelta(minutes=40) > now: reject
      - transmission_date_added + timedelta(minutes=95) < now: accept
    transmission:
      username: '{? transmission.usr ?}'
      password: '{? transmission.pwd ?}'
      action: remove
  lostfilm-dwnld:
    version_checker: yes
    headers:
      cookie: '{? lostfilm.cookie1 ?}'
      cookie: '{? lostfilm.cookie2 ?}'
      cookie: '{? lostfilm.cookie3 ?}'
    lostfilm: yes
    template: tv-show-std
    series:
      '720p':
        - 'Better Call Saul'
      '1080p':
        - 'Game of Thrones'

Log:

(click to expand)
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=258&e=19&s=4
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=214&e=17&s=6
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=425&e=8&s=1
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=424&e=3&s=1
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=421&e=4&s=1
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=422&e=3&s=1
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=65&e=19&s=14
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=412&e=10&s=1
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 WARNING  details       lostfilm-dwnld  Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
апр 24 13:40:18 srv-name flexget[25982]: 2019-04-24 13:40 WARNING  details       clean-torr      Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.

Additional information:

  • FlexGet version: 2.20.21
  • Python version: Python 2.7.15rc1
  • Installation method: pip install
  • Using daemon (yes/no): yes
  • OS and version: Ubuntu 18.04.2 LTS

@Danfocus Maybe remove additional info download and use direct RSS feed parsing only? Or make additional info download optional.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
gazpachokingcommented, May 2, 2019

cfscraper plugin was just updated to use a new library today, and the changes have not been included in a release yet. They will be included in tonight’s release, 2.20.25

1reaction
Danfocuscommented, Apr 25, 2019

Expected behaviour:

Lostfilm new series download

Actual behaviour:

2019-04-24 12:58 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=258&e=19&s=4
2019-04-24 12:58 ERROR    lostfilm      lostfilm-dwnld  Could not connect to redirect url: 503 Server Error: Service Temporarily Unavailable for url: http://www.lostfilm.tv/v_search.php?c=214&e=17&s=6

Steps to reproduce:

run flexget with config in daemon mode

Config:

schedules:
  - tasks: 'lostfilm-dwnld'
    interval:
      minutes: 3
  - tasks: 'clean-torr'
    interval:
      minutes: 15

templates:
  tv-show-std:
    series:
      settings:
        '720p':
          identified_by: ep
        '1080p':
          identified_by: ep
    transmission:
      username: '{? transmission.usr ?}'
      password: '{? transmission.pwd ?}'
      path: '/the path/{{series_name|re_replace("^[ ]*((The) )(.+?)[ ]*$","\\3, \\2")|re_replace("[<>:\"/\\\\|?*]+","-")|re_replace("^[. ]+|[. ]+$", "")}}/{{ series_season | pad(2) }}'
    exec:
      on_exit:
        for_accepted: >
          /the_path2/new_ep_not.sh
          "{{series_name}}" "{% if series_name_rus is defined %}{{series_name_rus}}{%endif%}"
          "{{series_season}}" "{{series_episode}}"
          "{{series_id}}"
          "{% if episode_name_eng is defined %}{{episode_name_eng}}{%endif%}"
          "{% if episode_name_rus is defined %}{{episode_name_rus}}{%endif%}"
          "{{content_size}}"

tasks:
  clean-torr:
    from_transmission:
      username: '{? transmission.usr ?}'
      password: '{? transmission.pwd ?}'
    disable: [seen, seen_info_hash]
    if:
      - transmission_progress < 100: reject
      - transmission_date_done + timedelta(minutes=40) > now: reject
      - transmission_date_added + timedelta(minutes=95) < now: accept
    transmission:
      username: '{? transmission.usr ?}'
      password: '{? transmission.pwd ?}'
      action: remove
  lostfilm-dwnld:
    version_checker: yes
    headers:
      cookie: '{? lostfilm.cookie1 ?}'
      cookie: '{? lostfilm.cookie2 ?}'
      cookie: '{? lostfilm.cookie3 ?}'
    lostfilm: yes
    template: tv-show-std
    series:
      '720p':
        - 'Better Call Saul'
      '1080p':
        - 'Game of Thrones'

Log:

(click to expand)

Additional information:

  • FlexGet version: 2.20.21
  • Python version: Python 2.7.15rc1
  • Installation method: pip install
  • Using daemon (yes/no): yes
  • OS and version: Ubuntu 18.04.2 LTS

@Danfocus Maybe remove additional info download and use direct RSS feed parsing only? Or make additional info download optional.

Try using Cloudflare Scraper plugin https://flexget.com/Plugins/cfscraper

Read more comments on GitHub >

github_iconTop Results From Across the Web

Untitled
Jernkontorets bergshistoriska utskott, Wb76proxy03 ezweb ne jp, Haters make me famous clothing, Pepper sauce using red wine, Oua la microunde, ...
Read more >
Planet Code4Lib
I've dusted off an account I created a while back on mastodon.social, and will be posting my countdown first there. They'll be readable...
Read more >
Untitled
Cinema frederiksberg copenhagen, Esc manouba site officiel. ... Stomach pain after holding breath, Matas ciliares esquema, Broken sailboat mast, ...
Read more >
Online >> Example Blog Article 1
Howdy are using Wordpress for your site platform? I'm new to the blog world but I'm trying to get started and set up...
Read more >
Student Buzz | White Noise
D8 delta 8 thc cbd oil results do not peak and after that vanish. ... my web site – keyword suggestion tool chrome...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found