[ VKontakte Optimizer ]

[ VKontakte Optimizer ] (//vkopt.net/forum/index.php)
-   Флейм и флуд (//vkopt.net/forum/forumdisplay.php?f=8)
-   -   Makinero questions about Regexp/Scripts/etc. (//vkopt.net/forum/showthread.php?t=4404)

Makinero 11.09.2012 23:24

Makinero questions about Regexp/Scripts/etc.
 
Please help me:
What Regex
for this link
Цитата:

site.com/index.php/component/gallery/?task=download&id=10000
Цитата:

site.com.com/index.php/component/gallery/user-gallerys/user/3-fine-cute-blondes?Itemid=303

KiberПсих 11.09.2012 23:39

Makinero,

site.com/index.php/component/gallery/?task=download&id=10000 :
Код:

RegEx 1:
site\.com\/index\.php\/component\/gallery\/\?task=download&id=\d+

RegEx 2:
site\.com[A-Za-z\/\.]+\?task=download&id=\d+

site.com.com/index.php/component/gallery/user-gallerys/user/3-fine-cute-blondes?Itemid=303
Код:

site\.com\.com\/[A-Za-z\/\.]+\/user-gallerys\/([A-Za-z]+)\/([A-Za-z\d\-]+)\?Itemid=(\d+)

Makinero 18.09.2012 15:04

KiberПсих







The regular expression does not work because need a little modify the entry for BID 4.x

Include:
site\.com\.com\/[A-Za-z\/\.]+\/user-gallerys\/([A-Za-z]+)\/([A-Za-z\d\-]+)




Multi-page:
\?Itemid=(\d+)

Thanks for your help.

Makinero 29.09.2012 19:10

Regular expression for multi-site vk.com/gsearch.php?
 
Trying to scan all sub-pages.
Bulk Image Downloader scans only 3 pages:
1, 2, 3, and stops at the symbol ">" (NEXT)




http://vk.com/gsearch.php?#c%5Bage_f...e&c%5Bsex%5D=1

What regular expression for MULTI-PAGE?

KiberПсих 29.09.2012 23:31

Makinero,
number in regex \d+

...........&offset=\d+

Makinero 30.09.2012 16:36

It does not work properly.
Scans only the first page.


I do not know why the regular expression does not work
vk\.com/gsearch\.php\?(. *)\&offset=(\d+)

Makinero 03.10.2012 03:57

Regexp photo***
 
Please all regular expression for this page.

_http://photoshare.ru/photo9104809.html
_http://photoshare.ru/album328559.html (multipage)
_http://photoshare.ru/album278080.html

KiberПсих 03.10.2012 20:21

Makinero,
http:\/\/photoshare\.ru\/photo(\d+)\.html
http:\/\/photoshare\.ru\/album(\d+)(-\d+)?\.html
http:\/\/photoshare\.ru\/album(\d+)\.html

Makinero 04.10.2012 10:04

Multi-page:
photoshare\.ru\/photo(\d+)\.html$
photoshare\.ru\/album(\d+)(-\d+)?\.html$
photoshare\.ru\/album(\d+)\.html$

Exclude:
<photoshare.ru/data/>(.*)/(.*)/(.*)/(.*)\.jpg$

Include:
*[0-9]+\.r\.photoshare\.ru/(.*)/[a-z0-9]+\.jpg


It should be 101 images.
Bulk Image Downloader shows 97 images (and no preview)
Please BID program to test it regex and What is wrong with the regex?

KiberПсих 05.10.2012 19:23

Makinero, I don't use BID.


Часовой пояс GMT +4, время: 00:53.

Сервер бесплатных медицинских консультаций
Дачный форум. уДачное общение.

VkOpt 2007 - 2021
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Перевод от zCarot