C# HTMLAgilityPack Login Issue Fix
Budget: $10 – $50 USD
Hey all I have been trying to get this login site to work with my C# using HTMLAglilityPack but I do not seem to be able to pass the protection it seems to have for its login page. The website looks to be using Knockout JS I believe since the button and textboxes look similar to what a knockout js site code looks like:
==================================
<input id="username" autofocus="" autocomplete="off" name="username" type="email" data-bind=" attr: { type:emailAddressType }, textInput: emailAddress, enable:emailEnabled(), validation: {display: 'email address', rules: 'required'}, css: {'input-error': errors().username,valid:emailOk()}" pb-role="username">
<input id="password" name="password" type="password" placeholder="" autocomplete="off" data-bind=" attr: { type: showPassword() ? 'text' : 'password'}, textInput: password, enable:!isLoginPending(), validation: {display: 'password', rules: 'required'}, css: {'input-error': errors().password,valid:passwordOk}" pb-role="password">
<button class="seemore disabled" type="submit" data-bind="click: onLoginSubmitAction, enable:!isLoginPending(), css: { disabled: isLoginPending() || !canSubmitForm()}, text: submitText()" pb-role="submit">LOG IN</button>
==================================
It looks like it checks to see if you physically have clicked on each of the text boxes (user name and password) before it allows you to click the submit button. The submit button enables only after I click both textboxes.
However, doing this same steps in the HTMLAgilityPack renders the submit button to still be disabled even though I have all the information (user name and password) entered.
Here is my code: https://drive.google.com/file/d/1g53zNo4iew0bYPJ_PzWJXV0-556h7J67/view?usp=sharing
I'm not familiar with Knockout JS so I'm not surer what all can be done in c# .net to mimic what needs to be done in order to pass the checks it looks to have. Help would be great!
Requirements:
- Use C# and HTMLAgilityPack
- Resolve login issue on a music website
- Allow access to my library info
Ideal skills and experience:
- Proficient in C# programming
- Expert with HTMLAgilityPack
- Experience with web authentication and login processes
Please provide a concrete method to log in, enabling me to access my data seamlessly.
==================================
<input id="username" autofocus="" autocomplete="off" name="username" type="email" data-bind=" attr: { type:emailAddressType }, textInput: emailAddress, enable:emailEnabled(), validation: {display: 'email address', rules: 'required'}, css: {'input-error': errors().username,valid:emailOk()}" pb-role="username">
<input id="password" name="password" type="password" placeholder="" autocomplete="off" data-bind=" attr: { type: showPassword() ? 'text' : 'password'}, textInput: password, enable:!isLoginPending(), validation: {display: 'password', rules: 'required'}, css: {'input-error': errors().password,valid:passwordOk}" pb-role="password">
<button class="seemore disabled" type="submit" data-bind="click: onLoginSubmitAction, enable:!isLoginPending(), css: { disabled: isLoginPending() || !canSubmitForm()}, text: submitText()" pb-role="submit">LOG IN</button>
==================================
It looks like it checks to see if you physically have clicked on each of the text boxes (user name and password) before it allows you to click the submit button. The submit button enables only after I click both textboxes.
However, doing this same steps in the HTMLAgilityPack renders the submit button to still be disabled even though I have all the information (user name and password) entered.
Here is my code: https://drive.google.com/file/d/1g53zNo4iew0bYPJ_PzWJXV0-556h7J67/view?usp=sharing
I'm not familiar with Knockout JS so I'm not surer what all can be done in c# .net to mimic what needs to be done in order to pass the checks it looks to have. Help would be great!
Requirements:
- Use C# and HTMLAgilityPack
- Resolve login issue on a music website
- Allow access to my library info
Ideal skills and experience:
- Proficient in C# programming
- Expert with HTMLAgilityPack
- Experience with web authentication and login processes
Please provide a concrete method to log in, enabling me to access my data seamlessly.