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

AV Error on parsing #4

Description

@ange007

Hello.

bds_2018-11-25_19-40-39
bds_2018-11-25_19-42-34

Uses:

  function getOtherData(const resultPage: string): string;
  var
    elements: IHtmlElementList;
  begin
    try elements := ParserHTML(resultPage).Find('#page_info_wrap .page_name'); except end;
    try if (Assigned(elements)) and (elements.Count > 0) then SetJSONValue(Result, 'fio', elements.Items[0].Text); except end;

    try elements := ParserHTML(resultPage).Find('#page_avatar .page_avatar_img'); except end;
    try if (Assigned(elements)) and (elements.Count > 0) then SetJSONValue(Result, 'avatar', elements.Items[0].Attributes['src']); except end;
  end;

bds_2018-11-25_19-41-37

Climbs an exception. What could be wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions