Code Monkey home page Code Monkey logo

Comments (7)

songyadong106 avatar songyadong106 commented on July 29, 2024 4

Traceback (most recent call last):
File "main.py", line 259, in
main()
File "main.py", line 253, in main
search.search_reference(get_uesr_inpt())
File "main.py", line 99, in search_reference
self.pre_parse_page(second_get_res.text), second_get_res.text)
File "main.py", line 107, in pre_parse_page
page_source).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

我想问一下,这个是什么错误呢? 另外[crawl] 这个参数代表什么呢? 希望您的解答,谢谢!!!!!!!!!

from cnki-download.

ylyy avatar ylyy commented on July 29, 2024

我也遇到了这个问题

from cnki-download.

caichen1234567 avatar caichen1234567 commented on July 29, 2024

.ini路径问题,进去设置一下路径就好

from cnki-download.

songyadong106 avatar songyadong106 commented on July 29, 2024

Uploading image.png…

from cnki-download.

itstyren avatar itstyren commented on July 29, 2024

Traceback (most recent call last):
File "F:\Python\CNKI-爬虫download\main.py", line 27, in
from GetPageDetail import page_detail
File "F:\Python\CNKI-爬虫download\GetPageDetail.py", line 203, in
page_detail = PageDetail()
File "F:\Python\CNKI-爬虫download\GetPageDetail.py", line 39, in init
if config.crawl_isDownLoadLink == '1':
File "F:\Python\CNKI-爬虫download\GetConfig.py", line 30, in get
value = self.func(instance)
File "F:\Python\CNKI-爬虫download\GetConfig.py", line 75, in crawl_isDownLoadLink
return int(self.conf.get('crawl', 'isDownLoadLink'))
File "F:\Anaconda\envs\tensorflow-gpu\lib\configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "F:\Anaconda\envs\tensorflow-gpu\lib\configparser.py", line 1141, in _unify_values
raise NoSectionError(section)
configparser.NoSectionError: No section: 'crawl'

配置文件路径需要设置正确

from cnki-download.

ChestnutLons avatar ChestnutLons commented on July 29, 2024

Traceback (most recent call last):
File "C:/Users/ASUS/PycharmProjects/1111111/知网/CNKI-download-master/main.py", line 259, in
main()
File "C:/Users/ASUS/PycharmProjects/1111111/知网/CNKI-download-master/main.py", line 253, in main
search.search_reference(get_uesr_inpt())
File "C:/Users/ASUS/PycharmProjects/1111111/知网/CNKI-download-master/main.py", line 99, in search_reference
self.pre_parse_page(second_get_res.text), second_get_res.text)
File "C:/Users/ASUS/PycharmProjects/1111111/知网/CNKI-download-master/main.py", line 106, in pre_parse_page
reference_num = re.search(reference_num_pattern_compile,
AttributeError: 'NoneType' object has no attribute 'group'
遇到此问题,不知如何修改,希望得到您的解答,万分感谢!!!!!

from cnki-download.

zzxx59342506 avatar zzxx59342506 commented on July 29, 2024

Traceback (most recent call last):
File "main.py", line 259, in
main()
File "main.py", line 253, in main
search.search_reference(get_uesr_inpt())
File "main.py", line 99, in search_reference
self.pre_parse_page(second_get_res.text), second_get_res.text)
File "main.py", line 107, in pre_parse_page
page_source).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

我想问一下,这个是什么错误呢? 另外[crawl] 这个参数代表什么呢? 希望您的解答,谢谢!!!!!!!!!

我也遇到这个问题了

from cnki-download.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.