1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Join our Telegram chat: https://t.me/a_parser_en
    Dismiss Notice

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:
    199
    Likes Received:
    35
    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:
    199
    Likes Received:
    35
    I figured it out.

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

Share This Page