Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
dataset_info:
|
3 |
features:
|
|
|
1 |
+
# Forceless/zenodo-pptx
|
2 |
+
|
3 |
+
Crawled from [zenodo](http://zenodo.org)
|
4 |
+
|
5 |
+
```python
|
6 |
+
dirname = f"zenodo-pptx/pptx/{task['license']}/{task['created'][:4]}/"
|
7 |
+
basename = f"{task['checksum'][4:]}-{task['filename']}"
|
8 |
+
filepath = dirname + basename
|
9 |
+
try:
|
10 |
+
open('/tmp/'+basename,'wb').close()
|
11 |
+
except:
|
12 |
+
filepath = dirname + basename[:240] + ".pptx"
|
13 |
+
```
|
14 |
+
|
15 |
+
## Citation
|
16 |
+
```
|
17 |
+
|
18 |
+
```
|
19 |
+
|
20 |
---
|
21 |
dataset_info:
|
22 |
features:
|