Find Jobs
Hire Freelancers

Commented C# Code Needed For Project (Involves Code to Log into site)

$30-250 USD

Terminado
Publicado hace más de 11 años

$30-250 USD

Pagado a la entrega
I currently am a novice programmer and have several projects for personal use.... I need 2 sets of code to be written and clearly commented for every 'function' so I can learn from it as this is of equal importance as the code function itself!! Ideally, I would like both in a class with instructions on how to implement them in my other projects as I have little experience with classes although I do understand what they are. Part 1. (Possibly a good idea would be a 'RacingPost' class with inputs (string username, string password, string url) I need to programmatically log into the site: [login to view URL] and then scrape the text (ideally raw source) from a protected area which requires aforementioned log in. (I am also very keen to understand how cookies can be retrieved and then used) Part 2. I need to programmatically log into [login to view URL];cb=10881429189 I then need to have a function to open a url from the same site in a webBrowser object (this url is an instant bet slip which requires the cookie or authentication from the log in) Currently, I can open the first url in a webBrowser object and if I use [login to view URL](url) it loses the log in BUT if I use [login to view URL](url, true) the new window (default browser not project form or wb objects) works fine and shows me as logged in but I MUST have the new url in a WebBrowser object on my project form. Note!! The url changes daily and is pre-scraped by code I have already written but I can easily give instructions as to where & how to get the url for any day/event, An example of this url : [login to view URL];affiliatecode=odc10&odds=5/2&instantbet=1 It is also important that I would need to change via string variable, the value of ' &affiliatecode=odc10 ' or to be precise, the bit saying 'odc10' On this new url, there is a button (only shows when logged in) saying 'Bet Max' - I need to programmatically 'click' this and a figure will appear in both the 'Stake' box and 'To Win' box - I would then need the program to : Save the 'To Win' and 'Stake' values to variables and then clear both fields..... Next I need the code to enter any two variables into those boxes - the idea being 'check max allowable' compare to default variables, if default amounts were more then use the values taken from the betslip or if less, use the default values... OR just change one box's value and leave the other (they auto-update just noticed) - lastly, I would need code to programatically 'click' the 'Place Bet' button It is worth noting that there can be more than one Stake and To Win fields as the slip could contain more horses...if this is the case, then I would (after checking if it is the case or not) want an array(or similar ?list?) with 3 fields: Name,Stake,ToWin As I said in the beginning, I would want to learn from this and be able to repeat for different sites using similar methods - I would want everything commented extensively either in the code via comments & regions OR in a word document using screenshots or ref to line numbers... The screenshots show most of it but when arranging job, I can supply urls etc and temp passes Thanks, Paul
ID del proyecto: 2340488

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 12 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Will be done as customer specified
$150 USD en 3 días
5,0 (24 comentarios)
4,8
4,8
4 freelancers están ofertando un promedio de $145 USD por este trabajo
Avatar del usuario
Sir till now I've did many such works. And hopefully i am ready to your work done Hoping to get a response from you soon Thanks you.
$200 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Please check the PMB
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED KINGDOM
Southsea, United Kingdom
5,0
1
Miembro desde jul 20, 2012

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.