Iceloof / GoogleNews

Script for GoogleNews
https://pypi.org/project/GoogleNews/
MIT License
316 stars 88 forks source link

Inluded sorting algorithm in the .result() method and included datetime #37

Closed MCilento93 closed 3 years ago

MCilento93 commented 3 years ago

Hello, you can see in my fork the algorithm I have used for retreiving the datetime from the news. It is based on this package. I have also included the descending order for the news among the set collected.

You can see from a new test script how the algorithm tackle rubbish from html (usually words ahead date, not parsable).

Immagine 2020-11-11 200123

ps. it can be improved further, if you wish, by removing copies of the same papers.

MCilento93 commented 3 years ago

Thank you, Today I will update again with bug fixed and general improvements Do I need to fork it again from the master? Thank you, ---Mc -------- Messaggio originale --------Da: Hurin Hu notifications@github.com Data: 11/11/20 20:20 (GMT+01:00) A: Iceloof/GoogleNews GoogleNews@noreply.github.com Cc: Mario Cilento mario.cilento.93@gmail.com, Author author@noreply.github.com Oggetto: Re: [Iceloof/GoogleNews] Inluded sorting algorithm in the .result() method and included datetime (#37) Merged #37 into master.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

HurinHu commented 3 years ago

Well, you just need to run “ pip install --upgrade GoogleNews” to upgrade the local package. In your fork repository, you can run “ git fetch upstream”

Kind Regards,

Hurin Hu Web Developer https://hurin.iceloof.comhttps://hurin.iceloof.com/

On 13/11/2020, at 00:32, Mario Cilento notifications@github.com wrote:



Thank you, Today I will update again with bug fixed and general improvements Do I need to fork it again from the master? Thank you, ---Mc -------- Messaggio originale --------Da: Hurin Hu notifications@github.com Data: 11/11/20 20:20 (GMT+01:00) A: Iceloof/GoogleNews GoogleNews@noreply.github.com Cc: Mario Cilento mario.cilento.93@gmail.com, Author author@noreply.github.com Oggetto: Re: [Iceloof/GoogleNews] Inluded sorting algorithm in the .result() method and included datetime (#37) Merged #37 into master.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/Iceloof/GoogleNews/pull/37#issuecomment-726022085, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAX4V5HKRZTIBJTZWYSNRXDSPPBVBANCNFSM4TSLJCNA.