| ... | ... |
@@ -51,8 +51,8 @@ def article(url): |
| 51 | 51 |
r = requests.get(url, allow_redirects=True) |
| 52 | 52 |
content = r.text |
| 53 | 53 |
|
| 54 |
- with open("test.html","w") as f:
|
|
| 55 |
- f.write(content) |
|
| 54 |
+ #with open("test.html","w") as f:
|
|
| 55 |
+ # f.write(content) |
|
| 56 | 56 |
|
| 57 | 57 |
if checkBlock(content) == None: |
| 58 | 58 |
articleStrImageUrl = None |