Open Applewubs opened 1 year ago
use post processor?
use post processor?
Thanks for the apparently obvious answer, but as I said, I'm kinda noob using this, so could you please elaborate better?
i got this from other gallery-dl issue which i forgot
"postprocessors": [
{
"name": "metadata",
"event": "post",
"filename": "{id} {title}.txt",
"#": "write text content and external URLs",
"mode": "custom",
"format": "{content}\n{embed[url]:?/\n/}",
"#": "only write file if there is an external link present",
"filter": "embed.get('url') or re.search(r'(?i)(gigafile|xgf|1drv|mediafire|mega|google|drive)', content)"
}
]
@mikf what does {embed[url]:?/\n/}
mean?
Takes the value from {embed[url]}
if it is available / not "None", inserts it into the string and appends it with a newline (\n
)
This might sound quite noob, and im sorry for my broken english, but i just started using this a few months ago and im still learning to use it to almost anything.
Now the problem, On various sites like kemonoparty, twitter. facebook you can post URLs without a preview, these links dont make it to the gallery-dl, is there a way to make it analyze all including the text when it searchs for URLs?![image](https://user-images.githubusercontent.com/59571080/205578227-23b44841-c9c3-4a5e-8b1a-5b87935aaf89.png)