mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +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
|
||||
|
||||
# URLs in HTML attributes
|
||||
rewrite_html_attr_urls(content)
|
||||
content = rewrite_html_attr_urls(content)
|
||||
|
||||
# URLs in CSS
|
||||
rewrite_css_urls(content)
|
||||
content = rewrite_css_urls(content)
|
||||
|
||||
# URLs in JavaScript
|
||||
rewrite_js_urls(content)
|
||||
content = rewrite_js_urls(content)
|
||||
|
||||
# for URLs in HTML attributes that start with a single slash
|
||||
content.gsub!(/(\s(?:href|src|action|data-src|data-url)=["'])\/([^"'\/][^"']*)(["'])/i) do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user