coocan 0.5.2__tar.gz → 0.5.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: coocan
3
- Version: 0.5.2
3
+ Version: 0.5.2.2
4
4
  Summary: Air Spider Framework
5
5
  Author: wauo
6
6
  Author-email: markadc@126.com
@@ -28,7 +28,7 @@ def snake_to_pascal(snake_str: str):
28
28
  def main(ctx):
29
29
  if ctx.invoked_subcommand is None:
30
30
  print(help_info)
31
- click.echo("cc new -s <spider_file_name>")
31
+ click.echo("coocan new -s <spider_file_name>")
32
32
 
33
33
 
34
34
  @main.command()
@@ -2,7 +2,7 @@ from coocan import Request, Response, MiniSpider
2
2
 
3
3
 
4
4
  class {SpiderClassName}(MiniSpider):
5
- start_urls = ['https://github.com/markadc/coocan']
5
+ start_urls = ["https://github.com/markadc/coocan"]
6
6
  max_requests = 10
7
7
 
8
8
  def middleware(self, request: Request):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: coocan
3
- Version: 0.5.2
3
+ Version: 0.5.2.2
4
4
  Summary: Air Spider Framework
5
5
  Author: wauo
6
6
  Author-email: markadc@126.com
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ coocan = coocan.cmd.cli:main
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as f:
5
5
 
6
6
  setup(
7
7
  name="coocan",
8
- version="0.5.2",
8
+ version="0.5.2.2",
9
9
  author="wauo",
10
10
  author_email="markadc@126.com",
11
11
  description="Air Spider Framework",
@@ -20,7 +20,7 @@ setup(
20
20
  ],
21
21
  entry_points={
22
22
  'console_scripts': [
23
- 'cc=coocan.cmd.cli:main',
23
+ 'coocan=coocan.cmd.cli:main',
24
24
  ],
25
25
  },
26
26
  package_data={
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- cc = coocan.cmd.cli:main
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes