精品美女吧 爬虫【Windows】【22.12.23】

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
精品美女吧 爬虫
Verson: 22.12.23
Blog: http://www.h4ck.org.cn
****************************************************************************************************
USAGE:
spider -h <help> -a <all> -q <search> -e <early stop>
Arguments:
-a <download all site images>
-q <query the image with keywords>
-h <display help text, just this>
****************************************************************************************************
精品美女吧 爬虫 Verson: 22.12.23 Blog: http://www.h4ck.org.cn **************************************************************************************************** USAGE: spider -h <help> -a <all> -q <search> -e <early stop> Arguments: -a <download all site images> -q <query the image with keywords> -h <display help text, just this> ****************************************************************************************************
精品美女吧 爬虫
Verson: 22.12.23
Blog: http://www.h4ck.org.cn
****************************************************************************************************
USAGE:
spider -h <help> -a <all> -q <search> -e <early stop>
Arguments:
         -a <download all site images>
         -q <query the image with keywords>
         -h <display help text, just this>
****************************************************************************************************

Continue Reading

新冠阴茎Covid-penis,新冠肺炎对男性生殖和性功能影响的研究进展

《中国男科杂志》2022年第36卷第5期刊文,《新冠肺炎对男性生殖和性功能影响的研究进展》,作者李望、谢弘,来自上海交通大学附属第六人民医院泌尿外科。

世卫组织于 2020 年 1 月 31 日将新型冠状病毒 ( SARS-CoV-2 )引起的新冠肺炎(COVID- 19 )确定为国 际关注的突发公共卫生事件[ 1] 。新冠肺炎临床表现除 肺部症状外,还存在不同程度的肺外器官损伤[2] 。 自疫 情爆发以来,越来越多的证据证明了 COVID- 19影响着 男性生殖和性功能 。 目前,COVID- 19仍在全球蔓延, 因此我们必须了解 SARS-CoV-2对男性健康方面的不 利影响,从而采取相应的预防措施和治疗手段[3] 。本文 对新冠肺炎在男性生殖和性功能方面影响的可能机 制、临床表现等的研究进展综述如下。

Continue Reading

秀人美女网爬虫 【Windows】【22.12.09】

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
更新日志:
调整超时时间为30秒,解决由于服务器解析导致的下载失败。如果效果不好,请下载旧版本。
更新日志: 调整超时时间为30秒,解决由于服务器解析导致的下载失败。如果效果不好,请下载旧版本。
更新日志:
调整超时时间为30秒,解决由于服务器解析导致的下载失败。如果效果不好,请下载旧版本。

Continue Reading

Django Export XLS 【Windows安装】

今天在windows电脑上安装django-export-xls的时候报错了:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
(venv) PS F:\Pycharm_Projects\Ruoyi-Energy> pip3 install django-export-xls
Collecting django-export-xls
Using cached django-export-xls-0.1.1.tar.gz (3.2 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
obaby\AppData\Local\Temp\pip-pip-egg-info-u0lvqod1'
cwd: C:\Users\obaby\AppData\Local\Temp\pip-install-xrhra6sx\django-export-xls_d72b66d322264c26b516fda785f307fd\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\obaby\AppData\Local\Temp\pip-install-xrhra6sx\django-export-xls_d72b66d322264c26b516fda785f307fd\setup.py", line 4, in <module>
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 918: illegal multibyte sequence
----------------------------------------
(venv) PS F:\Pycharm_Projects\Ruoyi-Energy> pip3 install django-export-xls Collecting django-export-xls Using cached django-export-xls-0.1.1.tar.gz (3.2 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: obaby\AppData\Local\Temp\pip-pip-egg-info-u0lvqod1' cwd: C:\Users\obaby\AppData\Local\Temp\pip-install-xrhra6sx\django-export-xls_d72b66d322264c26b516fda785f307fd\ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\obaby\AppData\Local\Temp\pip-install-xrhra6sx\django-export-xls_d72b66d322264c26b516fda785f307fd\setup.py", line 4, in <module> README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 918: illegal multibyte sequence ----------------------------------------
(venv) PS F:\Pycharm_Projects\Ruoyi-Energy> pip3 install django-export-xls                                                         
Collecting django-export-xls
  Using cached django-export-xls-0.1.1.tar.gz (3.2 kB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
obaby\AppData\Local\Temp\pip-pip-egg-info-u0lvqod1'
       cwd: C:\Users\obaby\AppData\Local\Temp\pip-install-xrhra6sx\django-export-xls_d72b66d322264c26b516fda785f307fd\
  Complete output (5 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\obaby\AppData\Local\Temp\pip-install-xrhra6sx\django-export-xls_d72b66d322264c26b516fda785f307fd\setup.py", line 4, in <module>
      README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
  UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 918: illegal multibyte sequence
  ----------------------------------------

Continue Reading

Django Export XLS

python读写csv是非常方便的,但是读写xls就稍微麻烦一些,涉及到行和列的问题。为了导出数据,搜了一下找到这么个插件:https://github.com/Daiech/django-export-xls,集成非常简单,只需要下面几步就ok了:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
1. 安装::
$ pip install django-export-xls
2."export_xls" 添加到 INSTALLED_APPS::
INSTALLED_APPS = (
...
'export_xls',
)
3. 修改以下两个路径MEDIA_ROOT 和MEDIA_URL eg::
import os
MEDIA_ROOT = os.sep.join([os.path.dirname(os.path.dirname(__file__)), 'media'])
MEDIA_URL = '/media/'
4. 执行数据导出:
定义以下几个数据:文件名、表头、导出数据
1. 安装:: $ pip install django-export-xls 2. 将"export_xls" 添加到 INSTALLED_APPS:: INSTALLED_APPS = ( ... 'export_xls', ) 3. 修改以下两个路径MEDIA_ROOT 和MEDIA_URL eg:: import os MEDIA_ROOT = os.sep.join([os.path.dirname(os.path.dirname(__file__)), 'media']) MEDIA_URL = '/media/' 4. 执行数据导出: 定义以下几个数据:文件名、表头、导出数据
1. 安装::
      $ pip install django-export-xls
2. 将"export_xls" 添加到 INSTALLED_APPS::
      INSTALLED_APPS = (
          ...
          'export_xls',
      )
3. 修改以下两个路径MEDIA_ROOT 和MEDIA_URL eg::
      import os
      MEDIA_ROOT = os.sep.join([os.path.dirname(os.path.dirname(__file__)), 'media'])
      MEDIA_URL = '/media/'
4. 执行数据导出:
   定义以下几个数据:文件名、表头、导出数据

Continue Reading