Templates + build
This commit is contained in:
parent
67e2e4d306
commit
7e821296a6
13 changed files with 202 additions and 15 deletions
|
|
@ -14,7 +14,7 @@ import (
|
|||
func SuisseMobileCheckURL(url string) int {
|
||||
var id int
|
||||
|
||||
re := regexp.MustCompile(`https?://(?:www\.)?schweizmobil\.ch/[^/]+/tour/(\d+)`)
|
||||
re := regexp.MustCompile(`schweizmobil\.ch/[^/]+/tour/(\d+)`)
|
||||
matches := re.FindStringSubmatch(url)
|
||||
|
||||
if len(matches) > 1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue