Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postprocessor doesn't work for reactor #1084

Closed
dawidsowa opened this issue Oct 26, 2020 · 0 comments
Closed

Postprocessor doesn't work for reactor #1084

dawidsowa opened this issue Oct 26, 2020 · 0 comments
Labels

Comments

@dawidsowa
Copy link
Contributor

dawidsowa commented Oct 26, 2020

Steps to reproduce

Write config.json as:

{
  "extractor": {
    "reactor": {
      "postprocessors": [
        {
          "name": "exec",
          "command": "echo {}"
        }
      ]
    }
  }
}

Run gallery-dl 'http://anime.reactor.cc/post/3576250' -q and gallery-dl 'http://joyreactor.com/post/3721876' -q.

Expected behavior

Both commands should return paths.

Actual behavior

There's no output.

Additional Info

Changing reactor in config.json to joyreactor makes the second command behave as expected and return path.

Changing content of config.json to

{
  "extractor": {
    "postprocessors": [
      {
        "name": "exec",
        "command": "echo {}"
      }
    ]
  }
}

makes both commands run as expected

@mikf mikf closed this as completed in 198c33e Oct 27, 2020
@mikf mikf added the bug label Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants