We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6aa2a commit ee7f779Copy full SHA for ee7f779
repo2docker/contentproviders/figshare.py
@@ -39,7 +39,10 @@ def __init__(self):
39
}
40
]
41
42
- url_regex = re.compile(r"(.*)/articles/(code/)?([^/]+)/(\d+)(/)?(\d+)?")
+ # We may need to add other item types in future, see
43
+ # https://github.com/jupyterhub/repo2docker/pull/1001#issuecomment-760107436
44
+ # for a list
45
+ url_regex = re.compile(r"(.*)/articles/(code/|dataset/)?([^/]+)/(\d+)(/)?(\d+)?")
46
47
def detect(self, doi, ref=None, extra_args=None):
48
"""Trigger this provider for things that resolve to a Figshare article"""
0 commit comments