这是从那里我试图提取子表从表中的iMacros
我试图提取数据 我只是想从一个表中提取子表下建筑详细信息类别的webpage
TAG POS=1 TYPE=H2 ATTR=TXT:Building<SP>Details
TAG POS=R1 TYPE=TABLE ATTR=TXT:* EXTRACT=HTM
SET txt1 {{!EXTRACT}}
SET count_txt EVAL(("var n=\"{{txt1}}\";var a=n.match(/<table class=\"table table-bordered table-responsive table-striped\">/g) || []).length;a;")
PROMPT {{count_txt}}
在这段代码中,我第一次计数文本'<table class=\"table table-bordered table-responsive table-striped\"'
的发生,并在此基础上努力泼了HTM,然后提取数据,但是这是给我的错误
MacroSyntaxError: wrong format of SET command, line 4 (Error code: -910)
我试图让这样的事情
Sr.No. Project_Name Name Number of Basement's Number of Plinth Number of Podium's Number_of_Slab_of_Super_Structure Number_of_Stilts Number_of Open_Parking Number_of_Closed_Parking Sr.No. Apartment_Type Carpet_Area_(in Sqmts) Number_of_Apartment Number_of_Booked_Apartment
1 SERENE CITY SERENE CITY A-01/A-02 0 1 0 2 0 0 0 1 VILLA 2BHK 234.3 2 0
2 SERENE CITY SERENE CITY A-03/A-04 0 1 0 2 0 0 0 1 VILLA 2BHK 234.3 2 0
截至本记录有... 任何帮助将非常感激。
感谢
@deepesh这个答案对您有帮助吗? –