Comments (2)
在最新版本裡,
更新之後原本關鍵字搜尋抓到的爬蟲新聞變成跟google新聞不同步,時間也亂跳,正常來說應該是抓取關鍵字查詢的新聞,可是更新之後都不知道抓到了什麼...
這是舊版本先前抓到的
後來舊版本程式碼跑不出media跟 date
後來想說更新一下看media跟 date會不會出來,結果出來是出來了,可是新聞不同步
在最新版本裡,period的默認參數被刪除了,增加了自定義時間設置,如果你需要當天的數據,可以用google news = GoogleNews(period='d')
,這個應該是跟之前的版本一樣的結果。在最新的readme上有具體的參數設置。
from googlenews.
最新版本中,搜尋字詞有些會因為特殊格式無法抓取
search in 台灣 ,如圖所示
from googlenews.
Related Issues (20)
- googlenews.search not working HOT 2
- en-GB search for region and language. HOT 1
- GoogleNews search is not working, please help HOT 11
- .search() does not take into account time range, gives limited number of results HOT 1
- googlenews.search() giving empty results and desc is returning None HOT 1
- Fetching doesnt work since 2 days HOT 4
- Empty news result
- 'desc' key in results list empty for all searches
- if I can use proxy in this tools HOT 2
- 429 error HOT 1
- 'get_news' search function returns NoneType error HOT 3
- get_news() search returning 'NoneType' error HOT 3
- no results return HOT 2
- Title resturns the media name in front HOT 2
- Intermediate URL redirect HOT 5
- Date Range doesn't work? HOT 1
- Pt-br version is not working HOT 1
- No results returned 1.6.14 HOT 1
- Datetime not available HOT 2
- Result for all search returning "None"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googlenews.