diff --git a/pkg/diyanet/scraper.go b/pkg/diyanet/scraper.go
index c4f7721..fee0fe7 100644
--- a/pkg/diyanet/scraper.go
+++ b/pkg/diyanet/scraper.go
@@ -54,12 +54,12 @@ func (d Provider) Get(ctx context.Context, location string) ([]prayer.Times, err
row := prayer.Times{
Date: parsedDate.Format(time.DateOnly),
- Fajr: el.Find("td:nth-of-type(2)").Text(),
- Sunrise: el.Find("td:nth-of-type(3)").Text(),
- Dhuhr: el.Find("td:nth-of-type(4)").Text(),
- Asr: el.Find("td:nth-of-type(5)").Text(),
- Maghrib: el.Find("td:nth-of-type(6)").Text(),
- Isha: el.Find("td:nth-of-type(7)").Text(),
+ Fajr: el.Find("td:nth-of-type(3)").Text(),
+ Sunrise: el.Find("td:nth-of-type(4)").Text(),
+ Dhuhr: el.Find("td:nth-of-type(5)").Text(),
+ Asr: el.Find("td:nth-of-type(6)").Text(),
+ Maghrib: el.Find("td:nth-of-type(7)").Text(),
+ Isha: el.Find("td:nth-of-type(8)").Text(),
}
times = append(times, row)
})
diff --git a/pkg/diyanet/scraper_test.go b/pkg/diyanet/scraper_test.go
index ee013e0..6a37f81 100644
--- a/pkg/diyanet/scraper_test.go
+++ b/pkg/diyanet/scraper_test.go
@@ -4,7 +4,6 @@ import (
"context"
"strings"
"testing"
- "time"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
@@ -27,6 +26,7 @@ const mockHtml = `
Gregorian Calendar Date
+ Hijri Date
Fajr
Sun
Dhuhr
@@ -38,6 +38,7 @@ const mockHtml = `