Skip to content

[add] urlrewrite plugin for allyoulike.com#1903

Merged
liiight merged 1 commit intoFlexget:developfrom
thawn:allyoulike_urlrewrite
Aug 2, 2017
Merged

[add] urlrewrite plugin for allyoulike.com#1903
liiight merged 1 commit intoFlexget:developfrom
thawn:allyoulike_urlrewrite

Conversation

@thawn
Copy link
Copy Markdown
Contributor

@thawn thawn commented Aug 1, 2017

Motivation for changes:

Make allyoulike.com work with the html plugin.

Detailed changes:

allyoulike.com urlrewriter
Version 0.1

Rewrites urls for allyoulike.com

On allyoulike, each link points to a page which contains the links to the actual files. 
Often these pages contain links to more than one quality (for example 1080p, 720p etc.).
The plugin chooses the set of links with the most files which should translate into the
Best quality movie.

There is no configuration for this plugin.

If more than one valid link is found, the url of the entry is rewritten to
the first link found. The complete list of valid links is placed in the
'urls' field of the entry.

Therefore, it is recommended, that you configure your output to use the
'urls' field instead of the 'url' field.

For example, to use jdownloader 2 as output, you would use the exec plugin:
exec:
  - echo "text={{urls}}" >> "/path/to/jd2/folderwatch/{{title}}.crawljob"

The plugin is intended to be used in conjunction with the html plugin.

Example configuration for the html plugin:

html:
  url: "http://www.allyoulike.com/category/movies/"
  title_from: link
  links_re:
    - allyoulike.com/\d*/(?!renew-or-purchase|for-vip-members-only)[^/]*/$

Config usage if relevant (new plugin or updated schema):

    rlsbb:
      filehosters_re:
        - domain\.com
        - domain2\.org
      link_text_re:
        - UPLOADGiG
        - NiTROFLARE
        - RAPiDGATOR
      parse_comments: no

Log and/or tests output (preferably both):

VERBOSE  rlsbb  TASK  Found <number> links at <entry url>

To Do:

  • Add ability to work as a search plugin.
  • Add configuration option to choose quality (ideally would grab the configuration from the quality plugin and use that).

@thawn thawn changed the title added urlrewrite plugin for allyoulike.com [add] urlrewrite plugin for allyoulike.com Aug 2, 2017
@liiight liiight merged commit 6f44b14 into Flexget:develop Aug 2, 2017
@thawn thawn deleted the allyoulike_urlrewrite branch August 2, 2017 20:20
@thawn
Copy link
Copy Markdown
Contributor Author

thawn commented Aug 2, 2017

thanks :-)

@liiight
Copy link
Copy Markdown
Member

liiight commented Aug 2, 2017

Thank you. Care to update the wiki?

@thawn
Copy link
Copy Markdown
Contributor Author

thawn commented Aug 3, 2017 via email

@liiight
Copy link
Copy Markdown
Member

liiight commented Aug 3, 2017

i lean towards the latter

@thawn
Copy link
Copy Markdown
Contributor Author

thawn commented Aug 8, 2017

Here is a documentation of an example configuration:
https://flexget.com/Cookbook/Urlrewrite/allyoulike

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.

2 participants