Skip to content

Commit

Permalink
fix issue #8
Browse files Browse the repository at this point in the history
  • Loading branch information
noobpk committed Aug 1, 2023
1 parent 7578238 commit 89b85ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def decoder(string):
pass

# Use a regular expression to find all url end with .js
url_pattern = r'(?:https?://|//).+\.js'
url_pattern = r'(?:https?://|//)[^\s/]+\.js'

matches = re.findall(url_pattern, string)

Expand Down

0 comments on commit 89b85ad

Please sign in to comment.