Open doktokto opened 7 years ago
string response
:
<!DOCTYPE html>
<html class=" responsive touch" lang="en">
[head]
<body class=" responsive_page">
<div class="responsive_page_frame no_header">
<div class="responsive_local_menu_tab">
</div>
<div class="responsive_page_menu_ctn localmenu">
<div class="responsive_page_menu" id="responsive_page_local_menu">
<div class="localmenu_content">
</div>
</div>
</div>
<div class="responsive_page_content_overlay">
</div>
<div class="responsive_fixonscroll_ctn nonresponsive_hidden no_menu">
</div>
<div class="responsive_page_content">
[script]
<div class="responsive_page_template_content">
<div id="mobileconf_list">
<div class="mobileconf_list_entry" id="confXXX" data-confid="XXX" data-key="XXX" data-type="3" data-creator="237960942384145662" data-cancel="Cancel" data-accept="Create Listing" >
<div class="mobileconf_list_entry_content">
<div class="mobileconf_list_entry_icon">
<div style="border: 1px solid transparent;border-color: #D2D2D2;"><img src="https://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXU5A1PIYQNqhpOSV-fRPasw8rsUFJ5KBFZv668FFMu1aPMI24auITjxteJwPXxY72AkGgIvZAniLjHpon2jlbl-kpvNjz3JJjVLFG9rl1YLQ/32fx32f" srcset="https://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXU5A1PIYQNqhpOSV-fRPasw8rsUFJ5KBFZv668FFMu1aPMI24auITjxteJwPXxY72AkGgIvZAniLjHpon2jlbl-kpvNjz3JJjVLFG9rl1YLQ/32fx32f 1x, https://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXU5A1PIYQNqhpOSV-fRPasw8rsUFJ5KBFZv668FFMu1aPMI24auITjxteJwPXxY72AkGgIvZAniLjHpon2jlbl-kpvNjz3JJjVLFG9rl1YLQ/32fx32fdpx2x 2x"></div> </div> <div class="mobileconf_list_checkbox">
<input id="multiconf_XXX" data-confid="XXX" data-key="XXX" value="1" type="checkbox">
</div>
<div class="mobileconf_list_entry_description">
<div>Sell - Operation Breakout Weapon Case</div>
<div> [*price_is_here*]</div>
<div>31 minutes ago</div>
</div>
</div>
<div class="mobileconf_list_entry_sep"></div>
</div>
</div>
<div id="mobileconf_done" class="mobileconf_done mobileconf_header" style="display: none">
<div>All done</div>
<div>You're all done, there's nothing left to confirm.</div>
</div>
<div id="mobileconf_details" style="display: none">
</div>
<div id="mobileconf_buttons" style="display: none">
<div>
<div class="mobileconf_button mobileconf_button_cancel">
</div><div class="mobileconf_button mobileconf_button_accept">
</div>
</div>
</div>
<div id="mobileconf_throbber" style="display: none">
<div style="text-align:center; margin: auto;">
<img src="https://steamcommunity-a.akamaihd.net/public/images/login/throbber.gif" alt="Loading">
</div>
</div>
</div> <!-- responsive_page_legacy_content -->
<div id="footer_spacer"></div>
<div id="footer_responsive_optin_spacer"></div>
<div id="footer">
<div class="footer_content">
<span id="footerLogo"><img src="https://steamcommunity-a.akamaihd.net/public/images/skin_1/footerLogo_valve.png?v=1" width="96" height="26" border="0" alt="Valve Logo" /></span>
<span id="footerText">
© Valve Corporation. All rights reserved. All trademarks are property of their respective owners in the US and other countries.<br/>Some geospatial data on this website is provided by <a href="https://steamcommunity.com/linkfilter/?url=http://www.geonames.org" target="_blank" rel="noreferrer">geonames.org</a>. <br>
<span class="valve_links">
<a href="http://store.steampowered.com/privacy_agreement/" target="_blank">Privacy Policy</a>
| <a href="http://www.valvesoftware.com/legal.htm" target="_blank">Legal</a>
| <a href="http://store.steampowered.com/subscriber_agreement/" target="_blank">Steam Subscriber Agreement</a>
</span>
</span>
</div>
<div class="responsive_optin_link">
<div class="btn_medium btnv6_grey_black" onclick="Responsive_RequestMobileView()">
<span>View mobile website</span>
</div>
</div>
</div>
</div> <!-- responsive_page_content -->
</div> <!-- responsive_page_frame -->
</body>
</html>
data-confid
and data-key
are same here:
<div class="mobileconf_list_entry" id="confXXX" data-confid="XXX" data-key="XXX"
<input id="multiconf_XXX" data-confid="XXX" data-key="XXX" value="1" type="checkbox">
Okay, so I just changed this part:
Regex confIDRegex = new Regex("<div class=\"mobileconf_list_entry\" id=\"conf(\\d+)\"");
Regex confKeyRegex = new Regex("data-key=\"(\\d+)\" data-type=");
@doktokto may I ask how you got this problem fixed, i got the same issue. I didnt really quite understand your solution here and how you managed to implement that in your project
SteamAuth\SteamGuardAccount.cs
,public Confirmation[] FetchConfirmations()
. I receive error becausei
is8
, butMatchCollection confDescs
have only4
values. I just put 4 my items to Steam Market and steam asking for confirmation. Somehow there is8
MatchCollection confIDs
andMatchCollection confKeys
, but only 4MatchCollection confDescs
. Will try to fix it now. Any ideas?