Youtube:video - extract urls from description

Discussion in 'A-Parser Support Forum' started by scrapefun, Jun 11, 2024.

  1. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    184
    Likes Received:
    34
    Trying to extract urls from youtube video description. The regex I'm using works when I test with an extracted video description using an online regex tester but not when using with a-parser. Feel like I'm missing a step or regex is wrong.

    [​IMG]
     
  2. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    184
    Likes Received:
    34
    I figured it out.

    Regex that finally worked: (https:\/\/[\w.-]+(?:\/[\w.-]*)*\/?)
     
    Support likes this.

Share This Page