voku/simple_html_dom

Link selector in XML-Documents does not seem to work.

luggesexe opened this issue · 0 comments

The example "Scraping Lebensmittelwarnung" does not seem to work. I tried accessing similar feeds, and it turns out to be the same error. In your example, the "Link" does not work, the same as the date.
Turns out, that the date can be fixed $return[$title]['DatumTime'] = date('Y-m-d H:m:s', strtotime($item->find('pubDate')->text()[0]));. I cannot find any fix for the link-Attribute.

Any idea on that? Should be an easy fix.