Giter Club home page Giter Club logo

mind's People

Contributors

codle avatar msnews avatar wuch15 avatar yingqiao avatar yjw1029 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mind's Issues

503 Problem

There are about 50,000 urls with 503 errors that fail to get the body. I tried it many times on different servers. I'm afraid those pages are no longer available. Are there any other ways to access these pages?

Thx : )

Part of the log is as follows:

2020-10-22 07:25:22 [scrapy.core.engine] DEBUG: Crawled (503) <GET https://assets.msn.com/labs/mind/AAJXRIf.html> (referer: None)
2020-10-22 07:25:22 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAJhftY.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:22 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAJSZ1k.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:22 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAIVDlM.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:22 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAJXRIf.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:23 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIDhqf.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:23 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET https://assets.msn.com/labs/mind/AAJ2VwG.html> (failed 3 times): 503 Service Unavailable
2020-10-22 07:25:23 [scrapy.core.engine] DEBUG: Crawled (503) <GET https://assets.msn.com/labs/mind/AAJ2VwG.html> (referer: None)
2020-10-22 07:25:23 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJ74bz.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:23 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAJ2VwG.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:23 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET https://assets.msn.com/labs/mind/AAIJD0a.html> (failed 3 times): 503 Service Unavailable
2020-10-22 07:25:23 [scrapy.core.engine] DEBUG: Crawled (503) <GET https://assets.msn.com/labs/mind/AAIJD0a.html> (referer: None)
2020-10-22 07:25:23 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAIJD0a.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:23 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET https://assets.msn.com/labs/mind/AAJ74Fs.html> (failed 3 times): 503 Service Unavailable
2020-10-22 07:25:23 [scrapy.core.engine] DEBUG: Crawled (503) <GET https://assets.msn.com/labs/mind/AAJ74Fs.html> (referer: None)
2020-10-22 07:25:23 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIP2NI.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:24 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET https://assets.msn.com/labs/mind/AAIJDGD.html> (failed 3 times): 503 Service Unavailable
2020-10-22 07:25:24 [scrapy.core.engine] DEBUG: Crawled (503) <GET https://assets.msn.com/labs/mind/AAIJDGD.html> (referer: None)
2020-10-22 07:25:24 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJBRTs.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:24 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAJ74Fs.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:24 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAIJDGD.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:24 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJmVXT.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:25 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIJEks.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:25 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET https://assets.msn.com/labs/mind/AAJSZ5I.html> (failed 3 times): 503 Service Unavailable
2020-10-22 07:25:25 [scrapy.core.engine] DEBUG: Crawled (503) <GET https://assets.msn.com/labs/mind/AAJSZ5I.html> (referer: None)
2020-10-22 07:25:25 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAJSZ5I.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:25 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJyI9B.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:25 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJmVYC.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:25 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJXRX7.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:25 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET https://assets.msn.com/labs/mind/AAJyI1B.html> (failed 3 times): 503 Service Unavailable
2020-10-22 07:25:25 [scrapy.core.engine] DEBUG: Crawled (503) <GET https://assets.msn.com/labs/mind/AAJyI1B.html> (referer: None)
2020-10-22 07:25:25 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIVDyW.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:25 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAJyI1B.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:26 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJhgac.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:26 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIVE03.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:26 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJtewR.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:26 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET https://assets.msn.com/labs/mind/AAJ74aR.html> (failed 3 times): 503 Service Unavailable
2020-10-22 07:25:26 [scrapy.core.engine] DEBUG: Crawled (503) <GET https://assets.msn.com/labs/mind/AAJ74aR.html> (referer: None)
2020-10-22 07:25:26 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIP2Ub.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:27 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <503 https://assets.msn.com/labs/mind/AAJ74aR.html>: HTTP status code is not handled or not allowed
2020-10-22 07:25:27 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJb3NF.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:27 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJmVfa.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:27 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJXRcB.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:27 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJtf1W.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:28 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJmVgq.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:28 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJBRoU.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:28 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJ2WTB.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:28 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJyIJ6.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:28 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJMhce.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:28 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJ2WWw.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:28 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIP2cL.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:29 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIDhqf.html> (failed 2 times): 503 Service Unavailable
2020-10-22 07:25:29 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIZK72.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:29 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJ74bz.html> (failed 2 times): 503 Service Unavailable
2020-10-22 07:25:29 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJMhdb.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:30 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIJPvD.html> (failed 1 times): 503 Service Unavailable
2020-10-22 07:25:30 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAIP2NI.html> (failed 2 times): 503 Service Unavailable
2020-10-22 07:25:30 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://assets.msn.com/labs/mind/AAJBRTs.html> (failed 2 times): 503 Service Unavailable

How can I get urls of news?

Hi, I want to obtain news that is not in the MIND dataset, for data augmentation. What is the correct way to get a large number of news url?

MIND_NEWS_PATH problems

hi, thanks to your crawler script.
I did run your code.

but, i having some problem with code
"with open(os.environ["MIND_NEWS_PATH"], 'r') as f:"

error message was this
"raise KeyError(key) from None
KeyError: 'MIND_NEWS_PATH'"

is it caused by path?
then i need your computer "MIND_NEWS_PATH" path?

Issue in creating the environment with yaml file

I get the following error while trying to create the conda environment using the yaml file.

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • libxml2==2.9.10=hee79883_0
  • ld_impl_linux-64==2.33.1=h53a641e_7
  • readline==7.0=h7b6447c_5
  • cffi==1.14.0=py37hd463f26_0
  • libgcc-ng==9.1.0=hdf63c60_0
  • libiconv==1.15=h516909a_1005
  • libxslt==1.1.33=h31b3aaa_0
  • zope.interface==4.7.1=py37h516909a_0
  • libedit==3.1.20181209=hc058e9b_0
  • cryptography==2.8=py37h72c5cf5_1
  • sqlite==3.31.1=h7b6447c_0
  • ncurses==6.2=he6710b0_0
  • lxml==4.5.0=py37h7ec2d77_0
  • openssl==1.1.1d=h7b6447c_4
  • python==3.7.6=h0371630_2
  • zlib==1.2.11=h7b6447c_3
  • icu==64.2=he1b5a44_1
  • bcrypt==3.1.7=py37h516909a_0
  • tk==8.6.8=hbc83047_0
  • libstdcxx-ng==9.1.0=hdf63c60_0
  • xz==5.2.4=h14c3975_4
  • twisted==19.10.0=py37h516909a_0
  • libffi==3.2.1=hd88cf55_4

Some entity embeddings are missing

In dataset MIND-small (downloaded from https://msnews.github.io/), it seems that at least the following entities from news.tsv is missing in entity_embedding.vec (in both training set and validation set).

['Q1088533',
 'Q1101080',
 'Q12618419',
 'Q1268659',
 'Q1274953',
 'Q13479957',
 'Q1369657',
 'Q1433118',
 'Q14641401',
 'Q1518821',
 'Q15957025',
 'Q1618101',
 'Q16941365',
 'Q16971395',
 'Q16974590',
 'Q17005981',
 'Q17075762',
 'Q17157233',
 'Q1759320',
 'Q18206822',
 'Q1830767',
 'Q1974060',
 'Q1985787',
 'Q19876954',
 'Q2213191',
 'Q22909405',
 'Q22953685',
 'Q23016498',
 'Q24963455',
 'Q25098896',
 'Q2914964',
 'Q2920489',
 'Q3115816',
 'Q3309248',
 'Q3560381',
 'Q3642692',
 'Q3988',
 'Q43078954',
 'Q47195',
 'Q4870032',
 'Q48834885',
 'Q5161167',
 'Q5223107',
 'Q5255734',
 'Q5433004',
 'Q5504038',
 'Q55604490',
 'Q5571889',
 'Q55956059',
 'Q56248373',
 'Q56276162',
 'Q56315722',
 'Q5643122',
 'Q5956375',
 'Q59608476',
 'Q60745527',
 'Q60756198',
 'Q60767275',
 'Q6148929',
 'Q6322233',
 'Q6774029',
 'Q6815811',
 'Q6841333',
 'Q6972751',
 'Q6988097',
 'Q7061735',
 'Q7090844',
 'Q7098673',
 'Q7158944',
 'Q7233544',
 'Q724143',
 'Q7246726',
 'Q7250831',
 'Q7305326',
 'Q7316299',
 'Q7381085',
 'Q7389710',
 'Q7732041',
 'Q7784916',
 'Q7826008',
 'Q7845560',
 'Q7883884',
 'Q8023958',
 'Q8026356']

Take Q1088533 for example, I opened the four files (news.tsv, entity_embedding.vec in training and validation set) and did a global search. But it was not found in entity_embedding.vec.
image

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.