about custom parser
to make http://www.topstarnews.net/news/photo/first/\d+/[^"]+_org\.jpg things
Expression: (http://www.topstarnews.net/news/photo/first/\d+/[^"]+)(\.jpg)
Result:[#1]_org[#2]
just adding "_org" is working. but this is a two depth search process.
Expression: (http://www.topstarnews.net/news/)(thumbnail/)(first/\d+/[^"]+)(_v150)(\.jpg)
Result: [#1]photo/[#3]_org[#5]
This is current page process. more simple "thumbnail address to orig address" which is not working.
It works well in "test", but it does not actually generate an address. Doesn't it work this way?
You can try here
http://www.topstarnews.net/news/article ... &editcode=
A trivial question
-
- Site Admin
- Posts: 2084
- Joined: 02 Mar 2009, 17:02
Re: A trivial question
Here you are:
Expression: src="\./thumbnail/first/([^/]+)/([^/"]+)v\d+(\.[^/"]+)"
Result: /news/photo/first/[#1]/[#2]org[#3]
Expression: src="\./thumbnail/first/([^/]+)/([^/"]+)v\d+(\.[^/"]+)"
Result: /news/photo/first/[#1]/[#2]org[#3]