diff --git a/docs/en/bbs.md b/docs/en/bbs.md
index 91931aaf26..f6b29af101 100644
--- a/docs/en/bbs.md
+++ b/docs/en/bbs.md
@@ -8,24 +8,24 @@ pageClass: routes
### General Subforum - Auto detection
-
+
### General Subforum - Manual version
-
+
| Discuz X Series | Discuz 7.x Series |
| --------------- | ----------------- |
| x | 7 |
-
+
### General Subforum - Support cookie
-
+
| Discuz X Series | Discuz 7.x Series |
| --------------- | ----------------- |
| x | 7 |
-
+
diff --git a/docs/en/finance.md b/docs/en/finance.md
index fcde5c8c82..c8e7a8938b 100644
--- a/docs/en/finance.md
+++ b/docs/en/finance.md
@@ -4,8 +4,14 @@ pageClass: routes
# Finance
+## CFD
+
+### Indices Dividend Adjustment (GBP)
+
+
+
## finviz
-### US stock news
+### US Stock News
-
+
diff --git a/docs/en/game.md b/docs/en/game.md
index 76b0acf241..cf6c29c415 100755
--- a/docs/en/game.md
+++ b/docs/en/game.md
@@ -46,7 +46,7 @@ Sorting types, default to `date`:
### Java Game Update
-
+
### CurseForge Mod Update
diff --git a/docs/en/multimedia.md b/docs/en/multimedia.md
index 93303f8b65..8cf5c647a6 100644
--- a/docs/en/multimedia.md
+++ b/docs/en/multimedia.md
@@ -32,27 +32,27 @@ Official RSS: https://eztv.io/ezrss.xml
### Videos
-
+
|New Comments|New Release|New Entries|Most Wanted|Best Rated|
|-----|------|------|-----|------|
|update|newrelease|newentries|mostwanted|bestrated|
-
+
### Stars
-
+
### Users
-
+
|User wanted|User watched|User owned|User posts|
|-----|------|------|-----|
|userwanted|userwatched|userowned|userposts|
-
+
### Bestreviews
-
+
## Nyaa
diff --git a/docs/en/new-media.md b/docs/en/new-media.md
index 86e92c7d57..97dfca98f8 100644
--- a/docs/en/new-media.md
+++ b/docs/en/new-media.md
@@ -51,23 +51,23 @@ Compared to the official one, the RSS feed generated by RSSHub not only has more
### Chinese
-
+
### Multi-language
-
+
| Traditional Chinese | Simplified Chinese | US | Japanese |
| ------------------- | ------------------ | --- | -------- |
| chinese | cn | us | japanese |
-
+
## Google News
### News
-
+
## Grub Street
@@ -99,19 +99,19 @@ Provides a better reading experience (full text articles) over the official one.
### Latest
-
+
### Hot
-
+
### Tags
-
+
### Author
-
+
## Nautilus
diff --git a/docs/en/other.md b/docs/en/other.md
index 57e883526b..b3d2facafb 100644
--- a/docs/en/other.md
+++ b/docs/en/other.md
@@ -79,7 +79,7 @@ Official Website: [https://www.ssm.gov.mo/apps1/PreventWuhanInfection/en.aspx](h
### HackerOne Hacker Activity
-
+
## Instapaper
diff --git a/docs/en/picture.md b/docs/en/picture.md
index 9bc69fd899..66487eef10 100644
--- a/docs/en/picture.md
+++ b/docs/en/picture.md
@@ -30,7 +30,7 @@ pageClass: routes
### Public Albums
-
+
## Konachan Anime Wallpapers
diff --git a/docs/en/program-update.md b/docs/en/program-update.md
index be52300189..a00befe8fb 100644
--- a/docs/en/program-update.md
+++ b/docs/en/program-update.md
@@ -157,7 +157,7 @@ Refer to [#minecraft](/en/game.html#minecraft)
### New sponsors
-
+
## sketch.com
@@ -191,4 +191,4 @@ Refer to [#minecraft](/en/game.html#minecraft)
### Module Update
-
+
diff --git a/docs/en/programming.md b/docs/en/programming.md
index d1da17af28..aeb7a32414 100644
--- a/docs/en/programming.md
+++ b/docs/en/programming.md
@@ -8,7 +8,7 @@ pageClass: routes
### Search Result
-
+
## GitHub
@@ -130,8 +130,8 @@ Website: https://news.ycombinator.com/
### Hex-Rays News
-
-
+
+
## Kaggle
@@ -199,7 +199,7 @@ Website: https://news.ycombinator.com/
### issues
-
+
## Scala
diff --git a/docs/en/study.md b/docs/en/study.md
index 318e69a4ca..22dc35f7c1 100644
--- a/docs/en/study.md
+++ b/docs/en/study.md
@@ -24,7 +24,7 @@ pageClass: routes
### theses
-
+
| `:param` | example | definition |
| -------- | --------------- | -------------------------------------- |
@@ -63,7 +63,7 @@ pageClass: routes
### innovation
-
+
| `:type` | type name |
| ------------- | ------------- |
diff --git a/docs/en/traditional-media.md b/docs/en/traditional-media.md
index 3f312b6936..17e2961eba 100644
--- a/docs/en/traditional-media.md
+++ b/docs/en/traditional-media.md
@@ -8,7 +8,7 @@ pageClass: routes
### Topics
-
+
## BBC
@@ -30,23 +30,23 @@ Support major channels, refer to [BBC RSS feeds](https://www.bbc.co.uk/news/1062
### Topics
-
+
| Business | Cities | Climate Change | Conservation | Governance & Law | Health and Food | Natural Disasters | Pollution | Science & Tech | Security | Water |
| -------- | ------ | ------------------------- | ------------ | ------------------ | --------------- | ----------------- | --------- | ---------------- | -------- | ----- |
| business | cities | climate-change-and-energy | conservation | governance-and-law | health-and-food | natural-disasters | pollution | science-and-tech | security | water |
-
+
### Columns
-
+
| Articles | Blogs | Culture | Reports |
| -------- | ----- | ------- | ------- |
| article | blog | culture | reports |
-
+
## China Times
@@ -74,13 +74,13 @@ RTHK offical provides full text RSS, check the offical website for detail inform
This route adds the missing photo and Link element. (Offical RSS doesn't have Link element may cause issue on some RSS client)
-
+
| local | greaterchina | international | finance | sport |
| ---------- | ------------------ | ------------- | ------------ | ---------- |
| Local News | Greater China News | World News | Finance News | Sport News |
-
+
## The Economist
@@ -124,7 +124,7 @@ Provides a better reading experience (full text articles) over the official one.
### News
-
+
`Region`
| Hong Kong | Taiwan | US |
@@ -136,4 +136,4 @@ Provides a better reading experience (full text articles) over the official one.
| ------- | ----- | -------- | ------------- | ------ | ------ |
| (Empty) | world | business | entertainment | sports | health |
-
+
diff --git a/docs/en/university.md b/docs/en/university.md
index 6caedea7e1..dbd45b04a6 100644
--- a/docs/en/university.md
+++ b/docs/en/university.md
@@ -28,8 +28,8 @@ pageClass: routes
### College of Electrical and Computer Engineering News
-
+
### College of Information & Computer Sciences News
-
+
diff --git a/docs/finance.md b/docs/finance.md
index bbaf9fa198..6850b5acf4 100644
--- a/docs/finance.md
+++ b/docs/finance.md
@@ -4,6 +4,12 @@ pageClass: routes
# 金融
+## CFD
+
+### 每周股指派息调整 (GBP)
+
+
+
## finviz
### 美股股票新闻
diff --git a/lib/router.js b/lib/router.js
index 4d82214b36..97d6646462 100644
--- a/lib/router.js
+++ b/lib/router.js
@@ -2738,6 +2738,9 @@ router.get('/grubstreet', require('./routes/grubstreet/index'));
// Aljazeera 半岛网
router.get('/aljazeera/news', require('./routes/aljazeera/news'));
+// CFD indices dividend adjustment
+router.get('/cfd/gbp_div', require('./routes/cfd/gbp_div'));
+
// 中国人民银行
router.get('/pbc/goutongjiaoliu', require('./routes/pbc/goutongjiaoliu'));
router.get('/pbc/tradeAnnouncement', require('./routes/pbc/tradeAnnouncement'));
diff --git a/lib/routes/cfd/gbp_div.js b/lib/routes/cfd/gbp_div.js
new file mode 100644
index 0000000000..058e98a18e
--- /dev/null
+++ b/lib/routes/cfd/gbp_div.js
@@ -0,0 +1,28 @@
+const got = require('@/utils/got');
+const cheerio = require('cheerio');
+const dateParser = require('@/utils/dateParser');
+
+module.exports = async (ctx) => {
+ const link = 'https://www.cmcmarkets.com/en-gb/news-and-analysis/upcoming-indices-dividend-drop-points';
+ const response = await got.get(link);
+
+ const $ = cheerio.load(response.data);
+
+ const title = $('.news-table-wrapper')[0].prev.prev.children[2].data.replace('*', '');
+
+ const pubDate = dateParser($('meta[itemprop="datePublished"]').attr('content'), 'YYYY-MM-DD-HH:mm');
+
+ ctx.state.data = {
+ title: 'Upcoming CFD indices dividend adjustments',
+ link,
+ item: [
+ {
+ title,
+ description: $('.news-table-wrapper').html(),
+ pubDate,
+ link,
+ guid: title + pubDate,
+ },
+ ],
+ };
+};