Wow, I am sure glad it was a bug cause I was slowly getting convinced I was going crazy. :p Glad to help! :D
On this page: https://www.npostart.nl/andere-tijden/VPWON_1247337/episode I can do the following in 1.7: foreach($html->find('div[id=component-grid-episodes] div[class=npo-grid-asset] .npo-asset-tile-container') as $episode) It correctly grabs all episode divs that way. But when I change the last part to: div[class~=npo-asset-tile-container] it only grabs the first div and not all of them. What am I doing wrong?
No longer relevant.
It seems that 1.7 does work afterall... I guess in my haste in testing I probably forgot to change the file path. Thanks!
There is no 1.7.1 that I can find. There's 1.7 and I've tried it; doesn't work unfortunately.
Adding an example: On this page: https://www.npostart.nl/andere-tijden/VPWON_1247337/episode This no longer works: foreach($html->find('div[id=component-grid-episodes] div[class=npo-grid-asset] .npo-asset-tile-container') as $episode) Until recently it worked just fine and grabbed the video divs on the page so I could extract the name and date from them.
I can confirm that this still is an issue. I've tried 1.8.1, 1.7, and the latests Master and in all cases I can't get the div when it has more than one class.