Skip to content

Tumblr liked-by fails: Error parsing post #585

@valepakh

Description

@valepakh

Describe the bug
When downloading liked-by tumblr pages, at the end of the process there's an error: Error parsing post
In the log there's a following error:

20241206 16:02:46.901  Err   TumblrLikedByCrawler:CrawlPageAsync: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: i
   at System.Text.RegularExpressions.MatchCollection.get_Item(Int32 i)
   at TumblThree.Applications.Crawler.TumblrLikedByCrawler.ExtractNextPageLink(String document) in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 753
   at TumblThree.Applications.Crawler.TumblrLikedByCrawler.<CrawlPageAsync>d__17.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 211

To Reproduce
Try to download any paged liked-by tumblr.

Expected behavior
Process completes successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions