Skip to content

Commit 3d2fba9

Browse files
committed
v3.2.2: fix wrong username value
1 parent bec4bb2 commit 3d2fba9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "filimo-plus-cli",
33
"description": "download filimo items",
4-
"version": "3.2.1",
4+
"version": "3.2.2",
55
"license": "MIT",
66
"author": {
77
"name": "SaeedPooyanfar",

src/Dom/DomService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export class DomService {
2020
const html: string = await this.getPage('https://www.filimo.com');
2121
const username = [...html.matchAll(/profile_edit_text.*>(.*)</g)]
2222
.map((i) => i[1])
23+
.reverse()
2324
.pop();
2425
return username ? username : undefined;
2526
}

0 commit comments

Comments
 (0)