Парсинг тумб

Post Reply
drongo
Posts: 81
Joined: Mon Nov 05, 2012 1:06 pm

Парсинг тумб

Post by drongo » Fri Oct 19, 2018 1:29 pm

Приветствую
Вопрос вроде простой, но забыл как делать

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

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, а дальше проблема
Как спарсить и нарезать все тумбы?

Благодарю

admin
Site Admin
Posts: 25496
Joined: Wed Sep 10, 2008 11:43 am

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

Post by admin » Fri Oct 19, 2018 1:35 pm

Приветствую!
там единственная пробелма это то что зачем то всунуты скобки, их лучше убрать и при импорте это поле thumb
скрипт поймет что их там много и добавит все
Have you done script update ?

drongo
Posts: 81
Joined: Mon Nov 05, 2012 1:06 pm

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

Post by drongo » Fri Oct 19, 2018 1:52 pm

А тумбы через , должны быть?

admin
Site Admin
Posts: 25496
Joined: Wed Sep 10, 2008 11:43 am

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

Post by admin » Fri Oct 19, 2018 2:33 pm

да
либо ;

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

Post Reply