Skip to content

Commit

Permalink
Fixed parsing hidden comment username
Browse files Browse the repository at this point in the history
  • Loading branch information
alim-zanibekov committed Feb 24, 2022
1 parent 9bf01a9 commit e511e6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/core/parsers/comments-parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class CommentsParser {
: null);

final hidden = element.querySelector('.comment_show') != null;
final usernameElement = txt?.querySelector('.comment_username');
final usernameElement = txt?.querySelector('.reply-link a');
final username = usernameElement?.text.trim();
final userLink = usernameElement?.attributes['href']?.split('/').last;

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: reactor
description: JoyReactor client.
version: 0.7.3
version: 0.7.4

environment:
sdk: '>=2.14.0 <3.0.0'
Expand Down

0 comments on commit e511e6b

Please sign in to comment.