09/10/2018, 22:38
Lấy nội dung HTML bằng Pattern
Tôi cần một đoạn code PHP dùng PERL Pattern để lấy nội dung của một tag bất kỳ từ trang HTML, có bác nào biết giúp tôi với!!!
Bài liên quan
https://sourceforge.net/projects/goldseeker
Con day la mo ta cua no
GoldSeeker is a data extraction application. It was built to extract formatted data from HTML files, but can be used with all kind of files.
Its behaviour is defined by a rule-based configuration file. It can process files on the local server, or directly get web pages via http://.
GS is still in development, it's neither whole nor stable; nevertheless it can already be used for simple extractions.
Đoạn code này sẽ lấy tin (trang nhat) của vnexpress rồi hiện lên trang của mình.
Bạn nào biết giúp mình với!