0
任何人都可以請幫我在這個HTML腳本,因爲我是新來的網站通過使用Rvest pkg抓取數據域?我會發布html文件來輕鬆描述我的障礙。我想要的是 <li ng-if="check_int(profile.funding_round.investment_total)" class= "ng-binding ng-scope">
下的總價值,但在br
標籤之前。請參閱html插入的最後一行。非常感謝。Web上與角JS指令R刮
<ul class="page-highlights no-bullet-list inline-list tight-list ng-scope" ng-if="profile.investability.action == 'invest' || profile.investability.action == 'show_oversubscribed_warning' || profile.investability.action == 'quiz_and_invest' || !profile.investability.action || profile.investability.reason == 'anonymous' || profile.offering_type.is_regcf || profile.investability.action == 'show_investment_summary' || profile.investability.action == 'invest_interest' || profile.investability.action == 'reserve' || profile.investability.action == 'show_reservation_summary' || profile.investability.action == 'submit_reservation' || profile.investability.action == 'confirm_investment'">
<!-- ngIf: check_int(profile.funding_round.investment_total) --><li ng-if="check_int(profile.funding_round.investment_total)" class="ng-binding ng-scope">$704,145<br><span class="label">Amount raised</span></li><!-- end ngIf: check_int(profile.funding_round.investment_total) -->
<!-- ngIf: check_int(profile.funding_round.investment_count) > 500 -->
<!-- ngIf: check_int(profile.funding_round.reservation_total) -->
<!-- ngIf: profile.funding_round.min_investment_per_investor && !profile.offering_type.is_rega_plus -->
<!-- ngIf: profile.share_price && profile.offering_type.is_rega_plus --><li ng-if="profile.share_price && profile.offering_type.is_rega_plus" class="ng-binding ng-scope">
$0.50 <br><span class="label">Share Price</span>
</li><!-- end ngIf: profile.share_price && profile.offering_type.is_rega_plus -->
<!-- ngIf: profile.funding_round.security_type && (profile.funding_round.security_type == 'Convertible Note' || profile.funding_round.security_type == 'Crowd Note') && profile.funding_round.valuation_cap && !(check_int(profile.funding_round.investment_count) > 500) -->
<!-- ngIf: profile.funding_round.security_type && (profile.funding_round.security_type == 'Common Equity' || profile.funding_round.security_type == 'Preferred Equity') && profile.funding_round.pre_money_valuation && !(check_int(profile.funding_round.investment_count) > 500) --><li ng-if="profile.funding_round.security_type && (profile.funding_round.security_type == 'Common Equity' || profile.funding_round.security_type == 'Preferred Equity') && profile.funding_round.pre_money_valuation && !(check_int(profile.funding_round.investment_count) > 500)" class="ng-scope">
<!-- ngIf: check_int(profile.funding_round.pre_money_valuation) --><span ng-if="check_int(profile.funding_round.pre_money_valuation)" class="ng-binding ng-scope">$30,000,000 <br><span class="tooltip-link label" tooltip-placement="bottom-left" tooltip-html-unsafe="The valuation of the issuer prior to investments resulting from this offering.">Pre-Money valuation</span></span><!-- end ngIf: check_int(profile.funding_round.pre_money_valuation) -->
</li><!-- end ngIf: profile.funding_round.security_type && (profile.funding_round.security_type == 'Common Equity' || profile.funding_round.security_type == 'Preferred Equity') && profile.funding_round.pre_money_valuation && !(check_int(profile.funding_round.investment_count) > 500) -->
<!-- ngIf: profile.funding_round.security_type && !check_int(profile.funding_round.investment_total) && !check_int(profile.funding_round.reservation_total) -->
</ul>
<!-- ngIf: check_int(profile.funding_round.investment_total) -->
<li ng-if="check_int(profile.funding_round.investment_total)" class="ng-binding ng-scope">$704,145<br><span class="label">Amount raised</span></li>
而不是發佈了一塊html文件的,你最好提供相應的URL與您當前沿刮碼。 – TomS