using panxapi to update a custom-url-category profile from a file
Here's an example of using the panxapi program and some simple
scripting to update a custom-url-category profile from a file of URLs.
If you have an existing URL category:
$ panxapi -t pa-200 -gxr "/config/devices/entry/vsys/entry/profiles/custom-url-ca
...