Skip to content
This repository was archived by the owner on Mar 30, 2020. It is now read-only.

Commit 6b6d8e7

Browse files
committed
Tweak to recent users regex for MAL HTML change.
1 parent d626771 commit 6b6d8e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MalApi/MyAnimeListApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public MalUserLookupResults GetAnimeListForUser(string user)
157157
}
158158

159159
private static Lazy<Regex> s_recentOnlineUsersRegex =
160-
new Lazy<Regex>(() => new Regex("myanimelist.net/profile/(?<Username>[^\"]+)\">\\k<Username>",
160+
new Lazy<Regex>(() => new Regex("/profile/(?<Username>[^\"]+)\">\\k<Username>",
161161
RegexOptions.Compiled | RegexOptions.CultureInvariant | RegexOptions.IgnoreCase));
162162
public static Regex RecentOnlineUsersRegex { get { return s_recentOnlineUsersRegex.Value; } }
163163

0 commit comments

Comments
 (0)