- Регистрация
- 25.11.2012
- Сообщения
- 544
- Благодарностей
- 26
- Баллы
- 28
I need someone to compile a regex for ZP, and am willing to pay £20 (Paypal gift) to whoever completes it, and provides the correct regex that works with ZP.
Some guy on Fiverr was unable to do it, so looking to the finest in this forum to have a shot.
Ok, so if you look on this Amazon marketplace page, the first item displays as: Back-ordered, and the other one is: In Stock. Both have a period (.) at the end, so you can use this in the regex.
If you look at the page source, both items have the following html tags before it:
but, there are a load of spaces, and maybe an enter in there, like this:
Note: I just need to capture the status of the stock, so don't worry about including 'In stock' into the regex, as sometimes Amazon use various messages (I will perform the checks on the captured results myself). So best to capture up to the first period (.).
Thanks.
Some guy on Fiverr was unable to do it, so looking to the finest in this forum to have a shot.
Ok, so if you look on this Amazon marketplace page, the first item displays as: Back-ordered, and the other one is: In Stock. Both have a period (.) at the end, so you can use this in the regex.
If you look at the page source, both items have the following html tags before it:
Код:
<li class="olpFastTrack"><span class="a-list-item">
Код:
<li class="olpFastTrack"><span class="a-list-item">
In stock.
Thanks.