Hi guys. Can i just add some custom extraction scr...
# getting-started
a
Hi guys. Can i just add some custom extraction script in extract folder or do you recommend me to build a custom extractor plugin following the docs?
e
Hi @abel_mendonca! If your extraction script is really and doesn’t need property selection, state, or configuration it’s definitely possible to use a simple script instead of a full package. You could do something like this:
Copy code
plugins:
  extractors:
  - name: my_extractor
    namespace: my_extractor
    executable: ./extractors/extract.py
and make sure your script is executable, e.g. with a shebang pointing to the right Python executable.
t
@edgar_ramirez_mondragon would that need to be a utility?
u
@taylor it could be, but semantically it probably makes more sense to treat it as an extractor. If
capabilities
is empty, Meltano won’t try to pass the common singer CLI options.