Đang Thực Hiện

165172 Simple scraping function

Hi would like a simple function created that parses a html document (which contains a list of movies and movie details in html tables) and puts some of the movie details into a multi-dimensional array.

The file to parse is attached.

Each array element should contain the following sub elements:

-----

Sub-element Name: image

Example Contents:

<img src="[url removed, login to view]" width=47 height=70 vspace=5 alt="Underdog Movie" style="border:1px solid gray">

-----

Sub-element Name: title

Example Contents:

Underdog

-----

Sub-element Name: url

Example Contents:

[url removed, login to view]

-----

Sub-element Name: views

Example Contents:

15841

-----

Sub-element Name: rating

Example Contents:

7.5/10 (55 votes)

-----

Sub-element Name: stars

Example Contents:

<img src="/i/stars/[url removed, login to view]" width=9><img src="/i/stars/[url removed, login to view]" width=9><img src="/i/stars/[url removed, login to view]" width=9><img src="/i/stars/[url removed, login to view]" width=9><img src="/i/stars/[url removed, login to view]" width=9>

-----

Also please loop through and display the elements to show function in action.

Kỹ năng: Bất kì công việc gì, PHP

Xem thêm: multi dimensional, movie rating details, border html, simple gif, simple multi, function, loop url list, simple function, function movies, function movie, simple rating, multi dimensional array, movie url list, rating image html, php html array, simple url file, simple multi dimensional array, html image rating, views votes, url movies, image height gif, simple movie, loop image, simple php image rating, sub domain list

Về Bên Thuê:
( 13 nhận xét ) Delta, Canada

Mã Dự Án: #1911363

Đã trao cho:

valantsl

Hello. I can start right now. Will be done during 1 hour. Quality guaranteed. Thank you, Best Regards, Valentin Zolochevsky

$25 USD trong 0 ngày
(0 Đánh Giá)
0.0