Skip to content

Commit

Permalink
Fix BingProvider.TITLE_PATTERN
Browse files Browse the repository at this point in the history
  • Loading branch information
goodtrailer committed Jun 19, 2021
1 parent 0ccdb67 commit 83e67a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DailyDesktop.Core.Providers.Bing/BingProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class BingProvider : IProvider
{
private const string IMAGE_RELATIVE_URI_PATTERN = "(/th\\?id=)([^\"/>]*?)1920x1080.[a-z]*";
private const string AUTHOR_PATTERN = "(?<=(<div class=\"copyright\" id=\"copyright\">))(.*?)(?=(</div>))";
private const string TITLE_PATTERN = "(?<=(<div class=\"vs_bs_title\">))(.*?)(?=(</div>))";
private const string TITLE_PATTERN = "(?<=(<meta property=\"og:title\" content=\"))(.*?)(?=(\" />))";
private const string TITLE_URI_PATTERN = "(?<=(<a href=\"/))search(.*?)(?=(\"(.*?)class=\"learn_more\">))";
private const string DESCRIPTION_PATTERN = "(?<=(<span(.*?)id=\"iotd_desc\">))(.*?)(?=(</span>))";

Expand Down

0 comments on commit 83e67a8

Please sign in to comment.