HCFPalScript doesn't consider different project ids passed via --project-id.
This is probably happening because the HCFPal() instance created inside HCFPalScript.__init__() isn't instantiated with the project id collected from the arguments in HCFPalScript.
Reproduce
$ python bin/hcfpal.py --project-id <project-id> list
SHUB_JOBKEY not set: not running on ScrapyCloud.
Listing frontiers in project <project-id>:
[frontiers from the default project id in scrapinghub.yml, not from <project-id>]
Issue
HCFPalScript doesn't consider different project ids passed via
--project-id
.This is probably happening because the
HCFPal()
instance created insideHCFPalScript.__init__()
isn't instantiated with the project id collected from the arguments in HCFPalScript.Reproduce