mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-18 10:16:47 +00:00
Fix: Fixed trivial mistake with function call
This commit is contained in:
parent
c517bd20d3
commit
dec9083b43
@ -639,13 +639,13 @@ class WaybackMachineDownloader
|
|||||||
end
|
end
|
||||||
|
|
||||||
# URLs in HTML attributes
|
# URLs in HTML attributes
|
||||||
rewrite_html_attr_urls(content)
|
content = rewrite_html_attr_urls(content)
|
||||||
|
|
||||||
# URLs in CSS
|
# URLs in CSS
|
||||||
rewrite_css_urls(content)
|
content = rewrite_css_urls(content)
|
||||||
|
|
||||||
# URLs in JavaScript
|
# URLs in JavaScript
|
||||||
rewrite_js_urls(content)
|
content = rewrite_js_urls(content)
|
||||||
|
|
||||||
# for URLs in HTML attributes that start with a single slash
|
# for URLs in HTML attributes that start with a single slash
|
||||||
content.gsub!(/(\s(?:href|src|action|data-src|data-url)=["'])\/([^"'\/][^"']*)(["'])/i) do
|
content.gsub!(/(\s(?:href|src|action|data-src|data-url)=["'])\/([^"'\/][^"']*)(["'])/i) do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user