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
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
Upgrade Storage
Also include a link to your current code if you want people to take a lok.