I gang

Small HTML Parsing script

Hello everybody.

I'm look for a small PHP (clean, no JS) script to parse the contents of a given page and return me some snippets of information.

This is the site to be parsed - [url removed, login to view]

It's the local lottery. I want to have the numbers, draw, date and jackpot parsed into an array (doesn't matter what structure)

Basically there are 3 games, which are in tabs, but it's JS , so in the source all the data is there.

Three games, 6/49,6/42, 5/35, and respectively the information:

Game 6/49

Drawnumber - Тираж 45 - [url removed, login to view]

Draw 1 - 1-во теглене

It's numbers are gifs - <img src="images/balls/[url removed, login to view]"><img src="images/balls/[url removed, login to view]">..... Here I need the numeric values + keeping the url of the image.

Jackpot - Джакпот: 535, [url removed, login to view] лв

The same goes for draw 2

And then 6/42, Draw 1,

Then 5/35 Draws 1 and 2, without Jackpot.

To ease things up, here's a suggested array in which all I need are the value:

[with example/dublicated number data]

$parsed = array(

'649' => array(

'drawnumber' => 'Тираж 45 - [url removed, login to view]',

'draw1nums' => array (1=> 'images/[url removed, login to view]', 4 => 'images/[url removed, login to view]', 11 => 'images/[url removed, login to view]', 22 => 'images/[url removed, login to view]', 36 => 'images/[url removed, login to view]', 41 => 'images/[url removed, login to view]')

'draw1win' => '535, [url removed, login to view]',

'draw2nums' => array (1=> 'images/[url removed, login to view]', 4 => 'images/[url removed, login to view]', 11 => 'images/[url removed, login to view]', 22 => 'images/[url removed, login to view]', 36 => 'images/[url removed, login to view]', 41 => 'images/[url removed, login to view]')

'draw2win' => '3, 569, [url removed, login to view] '

),

'642' => array(

'drawnumber' => 'Тираж 45 - [url removed, login to view]',

'draw1nums' => array (1=> 'images/[url removed, login to view]', 4 => 'images/[url removed, login to view]', 11 => 'images/[url removed, login to view]', 22 => 'images/[url removed, login to view]', 36 => 'images/[url removed, login to view]', 41 => 'images/[url removed, login to view]')

'draw1win' => '1, 169, [url removed, login to view]'

),

'535' => array(

'drawnumber' => 'Тираж 45 - [url removed, login to view]',

'draw1nums' => array (1=> 'images/[url removed, login to view]', 4 => 'images/[url removed, login to view]', 11 => 'images/[url removed, login to view]', 22 => 'images/[url removed, login to view]', 35 => 'images/[url removed, login to view]')

'draw1win' => FALSE,

'draw2nums' => array (1=> 'images/[url removed, login to view]', 4 => 'images/[url removed, login to view]', 11 => 'images/[url removed, login to view]', 22 => 'images/[url removed, login to view]', 35 => 'images/[url removed, login to view]')

'draw2win' => FALSE'

)

)

Færdigheder: PHP, Software Arkitektur

Se mere: html snippets, html date, example array data structure, data structure array, array data structure, architecture games, toto, small architecture, script jackpot, js script, small snippets, lottery software, lottery source, script src, html img, php html parsing, image parsing, html parsing php, lottery draw, script toto, lottery games, lottery number, toto script, parsing html, draw games

Om arbejdsgiveren:
( 14 bedømmelser ) Sofia, Bulgaria

Projekt-ID: #6038013

Tildelt til:

justTry

Zdrasti! Ne e problem izob6to. Edin vupros, za URL-ite na 4islate predpolagam trqbva da sa pulni a ne otnositelni? Pozdravi, Dobri

$25 USD på 1 dag
(33 bedømmelser)
4.4

8 freelancere byder i gennemsnit $28 for dette job

gangabass

Hi, I can create such PHP script in less than a day and I can offer you best price here. Just make 100% milestone payment and you'll get you script in few hours. Thanks. Roman

$30 USD på 1 dag
(126 bedømmelser)
6.0
rexzetsolutions

Ready to start work from now...................................................................................................................

$30 USD på 1 dag
(46 bedømmelser)
5.2
SuiGenSolutions

Hello Sir, We have worked on many web application projects for our clients in the past. We have professionals experienced in back-end technologies including node.js, PHP, J2EE etc as well as front-end technologies i Mere

$30 USD på 1 dag
(15 bedømmelser)
4.7
ecove

We are web enthusiast from the India with more than 4 years of experience on creating a website, Customer Relationship Management (CRM using Vtiger, Sugar CRM), Mobile Application Development, Graphic Designing, Search Mere

$25 USD på 1 dag
(3 bedømmelser)
2.8
NamCoder

Hello. Ready to start your project now. Using PHP Curl to get information you want. Thank you very much .

$30 USD på 1 dag
(3 bedømmelser)
1.8
mjawadaltaf

hi sir, my name is jawad altaf and i am a php developer. I have one year experience in frame works as well as in structure php.looking forward to work with you. Regards jawad altaf

$30 USD på 1 dag
(0 bedømmelser)
0.0
koztek

Hey, I'm new user but I'm working as a PHP programmer and your task won't be a problem for me. Cheers.

$20 USD på 1 dag
(0 bedømmelser)
0.0
SoRusted

Have you tried doing it yourself using php cUrl library? It comes by default with php. Then just parse the page using some awesome regex

$25 USD på 1 dag
(0 bedømmelser)
0.0