File tree 2 files changed +20
-7
lines changed
2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change
1
+ # WikiTeam3 internal
2
+
3
+ ## Images.txt structure
4
+
5
+ ``` python
6
+ filename + " \t " + url + " \t " + uploader
7
+ + " \t " + (str (size) if size else NULL )
8
+ + " \t " + (str (sha1) if sha1 else NULL )
9
+ + " \t " + (timestamp if timestamp else NULL )
10
+ + " \n "
11
+ ```
12
+
13
+ * optional fields:
14
+ - "null" (magic None value, since wikiteam3 v4.0.0)
15
+ - "False" (magic None value, before wikiteam3 v4.0.0)
16
+ - not present (ancient wikiteam3 versions)
17
+
1
18
# Snippets
2
19
3
20
## API Output format
@@ -69,4 +86,4 @@ wikiteam3 workaround: https://github.com/saveweb/wikiteam3/commit/fd5a02a649dcf3
69
86
https://docs.openssl.org/1.1.1/man1/ciphers/
70
87
https://docs.openssl.org/master/man1/openssl-ciphers/
71
88
72
- workaround: https://github.com/DigitalDwagon /wikiteam3/blob/8a054882de19c6b69bc03798d3044b7b5c4c3c88/wikiteam3/utils/monkey_patch.py#L63-L84
89
+ wikiteam3 workaround: https://github.com/saveweb /wikiteam3/blob/8a054882de19c6b69bc03798d3044b7b5c4c3c88/wikiteam3/utils/monkey_patch.py#L63-L84
Original file line number Diff line number Diff line change 1
1
import unittest
2
2
from unittest .mock import patch , MagicMock
3
- from urllib . parse import urlparse
3
+
4
4
import requests
5
- from wikiteam3 .dumpgenerator .config import Config , OtherConfig
5
+ from wikiteam3 .dumpgenerator .config import Config
6
6
from wikiteam3 .utils .wiki_avoid import avoid_robots_disallow
7
7
8
- # filepath: wikiteam3/utils/test_wiki_avoid.py
9
-
10
-
11
-
12
8
13
9
class TestAvoidRobotsDisallow (unittest .TestCase ):
14
10
You can’t perform that action at this time.
0 commit comments