Page 1 of 1

Парсинг тумб

Posted: Fri Oct 19, 2018 1:29 pm
by drongo
Приветствую
Вопрос вроде простой, но забыл как делать

Есть дамп к примеру:

Code: Select all

https://www.flyflv.com/movies/212/horny_teen_loves_sucking_cock|horny teen loves sucking cock|<iframe src="https://www.flyflv.com/movies/player/212" width="940" height="529" scrolling="no" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true">Your browser must support iframes to play this video.</iframe>|{https://static.flyflv.com/movies/000/212/212/thumbs/1.jpg|https://static.flyflv.com/movies/000/212/212/thumbs/2.jpg|https://static.flyflv.com/movies/000/212/212/thumbs/4.jpg|https://static.flyflv.com/movies/000/212/212/thumbs/9.jpg|https://static.flyflv.com/movies/000/212/212/thumbs/15.jpg|https://static.flyflv.com/movies/000/212/212/thumbs/17.jpg|https://static.flyflv.com/movies/000/212/212/thumbs/19.jpg|https://static.flyflv.com/movies/000/212/212/thumbs/21.jpg|https://static.flyflv.com/movies/000/212/212/thumbs/27.jpg|https://static.flyflv.com/movies/000/212/212/thumbs/30.jpg}
https://www.flyflv.com/movies/230/gorgeous_babe_gets_fingered|gorgeous babe gets fingered|<iframe src="https://www.flyflv.com/movies/player/230" width="940" height="529" scrolling="no" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true">Your browser must support iframes to play this video.</iframe>|{https://static.flyflv.com/movies/000/032/230/thumbs/3.jpg|https://static.flyflv.com/movies/000/032/230/thumbs/8.jpg|https://static.flyflv.com/movies/000/032/230/thumbs/10.jpg|https://static.flyflv.com/movies/000/032/230/thumbs/12.jpg|https://static.flyflv.com/movies/000/032/230/thumbs/15.jpg|https://static.flyflv.com/movies/000/032/230/thumbs/17.jpg|https://static.flyflv.com/movies/000/032/230/thumbs/22.jpg|https://static.flyflv.com/movies/000/032/230/thumbs/23.jpg|https://static.flyflv.com/movies/000/032/230/thumbs/24.jpg|https://static.flyflv.com/movies/000/032/230/thumbs/28.jpg}
https://www.flyflv.com/movies/220/gorgeous_blonde_teen_sucks_cock|gorgeous blonde teen sucks cock |<iframe src="https://www.flyflv.com/movies/player/220" width="940" height="529" scrolling="no" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true">Your browser must support iframes to play this video.</iframe>|{https://static.flyflv.com/movies/000/022/220/thumbs/1.jpg|https://static.flyflv.com/movies/000/022/220/thumbs/7.jpg|https://static.flyflv.com/movies/000/022/220/thumbs/10.jpg|https://static.flyflv.com/movies/000/022/220/thumbs/13.jpg|https://static.flyflv.com/movies/000/022/220/thumbs/16.jpg|https://static.flyflv.com/movies/000/022/220/thumbs/17.jpg|https://static.flyflv.com/movies/000/022/220/thumbs/21.jpg|https://static.flyflv.com/movies/000/022/220/thumbs/23.jpg|https://static.flyflv.com/movies/000/022/220/thumbs/28.jpg|https://static.flyflv.com/movies/000/022/220/thumbs/29.jpg}
В паттерне ставлю: URL, Alt(Title), Embed code, а дальше проблема
Как спарсить и нарезать все тумбы?

Благодарю

Re: Парсинг тумб

Posted: Fri Oct 19, 2018 1:35 pm
by admin
Приветствую!
там единственная пробелма это то что зачем то всунуты скобки, их лучше убрать и при импорте это поле thumb
скрипт поймет что их там много и добавит все

Re: Парсинг тумб

Posted: Fri Oct 19, 2018 1:52 pm
by drongo
А тумбы через , должны быть?

Re: Парсинг тумб

Posted: Fri Oct 19, 2018 2:33 pm
by admin
да
либо ;

либо в импорте можно много раз указать нескольким полям thumb и оно поймет что это разные тумбы