Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Parse dot percentage
  • Loading branch information
semuelle authored Sep 23, 2024
1 parent 11a2f61 commit 5bebfa0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ const main = async () => {
regex: /(?<=\*\*Total Costs:\*\* ).*/g, // this will take also extra as $, USD, DAI...
mandatory: true,
},
{
name: 'dot_percentage',
regex: /(?<=\*\*DOT %:\*\* ).*/g,
mandatory: true,
},
{
name: 'address',
regex: /(?<=\*\*Registered Address:\*\* ).*/g,
Expand Down

0 comments on commit 5bebfa0

Please sign in to comment.