Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyload/pyload
/ get_id
Method
get_id
module/plugins/hoster/ZDF.py:38–39 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
36
37
@staticmethod
38
def
get_id(url):
39
return
int(re.search(r
'\D*(\d{4,})\D*'
, url).group(1))
40
41
def
process(self, pyfile):
42
xml = etree.fromstring(
Callers
1
process
Method · 0.95
Calls
1
search
Method · 0.45
Tested by
no test coverage detected