File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -12610,11 +12610,12 @@ def __looks_like_a_page_url(self, url):
1261012610 url.startswith("http:")
1261112611 or url.startswith("https:")
1261212612 or url.startswith("://")
12613- or url.startswith("chrome:")
1261412613 or url.startswith("about:")
12614+ or url.startswith("blob:")
12615+ or url.startswith("chrome:")
1261512616 or url.startswith("data:")
12616- or url.startswith("file:")
1261712617 or url.startswith("edge:")
12618+ or url.startswith("file:")
1261812619 or url.startswith("opera:")
1261912620 or url.startswith("view-source:")
1262012621 ):
Original file line number Diff line number Diff line change @@ -117,11 +117,12 @@ def is_valid_url(url):
117117 if (
118118 regex .match (url )
119119 or url .startswith ("about:" )
120- or url .startswith ("data :" )
120+ or url .startswith ("blob :" )
121121 or url .startswith ("chrome:" )
122+ or url .startswith ("data:" )
122123 or url .startswith ("edge:" )
123- or url .startswith ("opera:" )
124124 or url .startswith ("file:" )
125+ or url .startswith ("opera:" )
125126 ):
126127 return True
127128 else :
You can’t perform that action at this time.
0 commit comments