-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: change name to baidu_image_crawling
- Loading branch information
Showing
8 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Push baidu_image_spider to pypi | ||
name: Push baidu_image_crawling to pypi | ||
|
||
on: | ||
push: | ||
|
@@ -50,5 +50,5 @@ jobs: | |
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/[email protected] | ||
with: | ||
password: ${{ secrets.BAIDUIMAGESPIDER }} | ||
password: ${{ secrets.BaiduImageCrawling }} | ||
packages_dir: dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# -*- encoding: utf-8 -*- | ||
# @Author: SWHL | ||
# @Contact: [email protected] | ||
from baidu_image_spider.main import Crawler | ||
from baidu_image_crawling.main import Crawler | ||
|
||
crawler = Crawler(0.05, save_dir="outputs") # 抓取延迟为 0.05 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ def get_readme(): | |
return readme | ||
|
||
|
||
MODULE_NAME = "baidu_image_spider" | ||
MODULE_NAME = "baidu_image_crawling" | ||
obtainer = GetPyPiLatestVersion() | ||
try: | ||
latest_version = obtainer(MODULE_NAME) | ||
|
@@ -47,7 +47,7 @@ def get_readme(): | |
description="Baidu Image Spider", | ||
author="SWHL", | ||
author_email="[email protected]", | ||
url="https://github.com/SWHL/BaiduImageSpider", | ||
url="https://github.com/SWHL/BaiduImageCrawling", | ||
license="Apache-2.0", | ||
include_package_data=True, | ||
install_requires=read_txt("requirements.txt"), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters