Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codelucas/newspaper
/ split
Method
split
newspaper/utils.py:78–81 ·
view source on GitHub ↗
(self, string)
Source
from the content-addressed store, hash-verified
76
self.pattern = re.compile(pattern)
77
78
def
split(self, string):
79
if
not string:
80
return
[]
81
return
self.pattern.split(string)
82
83
84
class
StringReplacement(object):
Callers
15
candidate_words
Method · 0.80
is_valid_body
Method · 0.80
set_meta_keywords
Method · 0.80
get_available_languages
Function · 0.80
remove_args
Function · 0.80
valid_url
Function · 0.80
url_to_filetype
Function · 0.80
split_words
Function · 0.80
parse_byline
Method · 0.80
split_title
Method · 0.80
get_meta_data
Method · 0.80
get_category_urls
Method · 0.80
Calls
no outgoing calls
Tested by
2
get_base_domain
Function · 0.64
test_valid_urls
Method · 0.64