diff --git a/examples/input_xmls/chorus-encore.xml b/examples/input_xmls/chorus-encore.xml
index 2e064ee..f8b1e40 100644
--- a/examples/input_xmls/chorus-encore.xml
+++ b/examples/input_xmls/chorus-encore.xml
@@ -1,10 +1,8 @@
http://PLACEHOLDER:8191/v1
- 1

(.*?)<\/div>
Album:<\/span> (.*?)<\/div>Genre:<\/span> .*?Charter:<\/div>(.*?)<\/a><\/div>.*?for=\\"downloadVideos_(.*?)\\"
- ]]>
+ >
(.*?)<\/div>
Album:<\/span> (.*?)<\/div>Genre:<\/span> .*?Charter:<\/div>(.*?)<\/a><\/div>.*?for=\\"downloadVideos_(.*?)\\"]]>
+ 1
10
diff --git a/main.go b/main.go
index dc3a342..2ef6f97 100644
--- a/main.go
+++ b/main.go
@@ -32,9 +32,9 @@ type feedT struct {
AuthorEmail feedFieldInfoT `xml:"authorEmail"`
}
type inputT struct {
- LoadSeconds float32 `xml:"loadSeconds"`
- Regex string `xml:"regex"`
FlareSolverrURL string `xml:"flareSolverrURL"`
+ Regex string `xml:"regex"`
+ LoadSeconds float32 `xml:"loadSeconds"`
MaxFeedItems int `xml:"maxFeedItems"`
Feed feedT `xml:"feed"`
}
@@ -44,9 +44,9 @@ func main() {
if len(os.Args) < 2 {
demoInputBytes, _ := xml.MarshalIndent(
inputT{
- LoadSeconds: 2.5,
- Regex: "PLACEHOLDER",
FlareSolverrURL: "http://127.0.0.1:8191",
+ Regex: "PLACEHOLDER",
+ LoadSeconds: 2.5,
MaxFeedItems: 10,
Feed: feedT{
Title: feedFieldInfoT{Parent: "Demo Title", CaptureGroupIndex: []int8{0}},