ZU.processDocuments

In the process of writing a new translator, I have the following problem :

In the doWeb function for multiple, I am passing an array of url to the function with the usual ZU.processDocuments(articles, scrape);

A typical url would be for instance : "https://www.legisquebec.gouv.qc.ca/fr/document/lc/A-1"

The url with the multiple would be for instance :
"https://www.legisquebec.gouv.qc.ca/en/chapters?corpus=statutes"

The function scrape (doc, url) is not using the content of the articles but default to the url with multiple.

After much searching, my guess is that the url I am passing to ZU.processDocuments is not a valid one.

Any suggestions ?

Thanks.

Marc
  • Translators questions should go to zotero-dev and you should write translators using Scaffold/the translator editor and take advantage of the built-in templates, which use the current best practice async calls (such as requestDocument ). New translators shouldn't be using processDocuments.

    Also include a link to your current code if you want people to take a lok.
  • Thank you ! I think the requestDocument will do the trick. If not, will use zotero-dev.

Sign In or Register to comment.