WhiteHatBox
Share Page
Following(0)
Partner(s)
bechampions87

Can you nest modules inside of modules

ReplyThanks 2016/10/18 16:32:31 0 0

Hi,


I'm thinking of making a bot that can operate several different scrapers and choses a different one depending on the url.


Is there a way to nest a module inside another module?

Thanks!

Aprilcaicai
2016/10/18 22:31:19
Why do you need to nest a module inside another module? Recently there is problem for it. And we will update it asap.
bechampions87
2016/10/18 23:44:44

I want to create a bot that can read from a csv file and then scrape different urls on the csv file. The scrapers will be customized depending on the url. I'm thinking the csv reader will be a module and each of the scrapers will be one as well.

Maybe the best way to organize this is through a project, however, that would only work if modules inside the project could interact with each other. Can they?


Aprilcaicai
2016/10/19 01:56:40
Yes, you can add module on the project.
Actually there is a read file command on Botchief, so you do not need to create one module to read data, and create the other one to scrape data from it.
<< < 1> >>
VerifyCode
Advanced Option