Skip to content

The torrentleech output plugin is temporarily using the V4 api#2117

Merged
liiight merged 2 commits intoFlexget:developfrom
carlba:feature/temp_use_torrentleech_v4_api
Apr 9, 2018
Merged

The torrentleech output plugin is temporarily using the V4 api#2117
liiight merged 2 commits intoFlexget:developfrom
carlba:feature/temp_use_torrentleech_v4_api

Conversation

@carlba
Copy link
Copy Markdown
Contributor

@carlba carlba commented Apr 9, 2018

  • The V5 introduces changes that would require a major rewrite of the
    plugin. This fix temporarily makes the plugin work again.

Motivation for changes:

  • Make the torrentleech output plugin work until support for the V5 api can be implemented

Detailed changes:

  • Changed the url used for communicating with the torrentleech api from www.torrentleech.org to
    v4.torrentleech.org

Addressed issues:

carlba added 2 commits April 9, 2018 00:06
- The V5 introduces changes that would require a major rewrite of the
  plugin. This fix temporarily makes the plugin work again.
@liiight liiight merged commit ff2f130 into Flexget:develop Apr 9, 2018
@sisfs
Copy link
Copy Markdown

sisfs commented May 2, 2018

I'm not sure what's going on but all of my attempted torrentleech downloads return the following

2018-05-01 21:59 VERBOSE task My-TV-Shows REJECTED: The Expanse S03E03 1080p WEB H264-DEFLATE by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Network error during request: 403 Client Error: Forbidden for url: https://www.torrentleech.org/rss/download/1071538/<correctTL_RSS_Key>/The.Expanse.S03E03.1080p.WEB.H264-DEFLATE.torrent)

I am on Flexget Version 2.13.14, python version 2.7.14, and have tried installed in virutalenv and outside of virtualenv. I'm not certain which version i was on when i upgraded to 2.13.14 but i rolled back to 2.12.0 in order to see if that fixed it, and it didn't.

Any insight that you may be able to provide would be greatly appreciated.

@blsmit5728
Copy link
Copy Markdown

blsmit5728 commented May 2, 2018

It's the Request headers User-Agent are causing the Download to fail. I've been trying to work around it because setting User-Agent using the headers plugin is not working. @sisfs if you take a look at my config in my repo, I'm using exec to DL using wget and then a simple filesystem input to actually load it into a DL-er.

@sisfs
Copy link
Copy Markdown

sisfs commented May 4, 2018

@blsmit5728 I'm trying out your method on my config now. I'll report back once the first run is though and i see if anything downloads. Thanks for the work you did!

@blsmit5728
Copy link
Copy Markdown

@sisfs make sure to take a look at tv-global, the two deluge templates, the local-torrents-tv and the tv-my-shows etc. it's kind of strewn about.

@sisfs
Copy link
Copy Markdown

sisfs commented May 6, 2018

@blsmit5728 I added the user-agent line to my respective tasks and it was enough to fix the issue that i was having; thanks a ton for doing the ground work!!!!

@carlba carlba deleted the feature/temp_use_torrentleech_v4_api branch November 20, 2018 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The torrentleech plugin is not working with their V5 api

4 participants