[Solved] How to use re.findall to get the url string? [closed]


re.findall(r"'https://.*?'", part_of_html)

re.findall(pattern, string, flags=0) Return all non-overlapping matches of pattern in string, as a list of strings. The string is scanned left-to-right, and matches are returned in the order found. If one or more groups are present in the pattern, return a list of groups; this will be a list of tuples if the pattern has more than one group. Empty matches are included in the result unless they touch the beginning of another match.

1

solved How to use re.findall to get the url string? [closed]