我对VBA很新,问题是我正在尝试抓取网络:https://finance.yahoo.com/screener/predefined/Aluminum并获取列表中每个代码的所有部分。复杂的部分(至少对我来说)是删除过滤器“价格”和“交换”并发送请求,我使用以下代码,但我无法连接属性。一些建议?非常感谢
cModuleType *mwType = cModuleType::get(mwName);
std::string desc = mwType->str();
const std::string interfaceName = "MyInterface";
if (desc.find(interfaceName) != std::string::npos) {
EV << mwName << " implements " << interfaceName << endl;
cModule* middleware = mwType->create(mwName, this);
// ...
} else {
EV << mwName << " does not implement " << interfaceName << endl;
}