Comments (4)
Hi @MagicVin, what is your question?
from pcc.
Sorry Eric,
My English is not very good.Maybe you don't understand what I say.
The two APIs in chapter 17.3 were disabled when I type them to Google browser.
So, I want to ask you --> Could they be clickable and work good now?
One of API was in pcc/chapter_17/hn_submissions.py:
url = 'https://hacker-news.firebaseio.com/v0/topstories.json'
https://github.com/ehmatthes/pcc/blob/master/chapter_17/hn_submissions.py
Thanks!
from pcc.
No problem! When I click on the two links in your first post, I get the appropriate results:
https://hacker-news.firebaseio.com/v0/item/9884165.json
{"by":"nns","descendants":297,"id":9884165,"kids":[9885099,9884723,9885165,9884789,9885604,9884137,9886151,9885220,9885790,9884661,9885844,9885029,9884817,9887342,9884545,9884372,9884499,9884881,9884109,9886496,9884342,9887832,9885023,9884334,9884707,9887008,9885348,9885131,9887539,9885880,9884196,9884640,9886534,9885152],"score":558,"time":1436875181,"title":"New Horizons: Nasa spacecraft speeds past Pluto","type":"story","url":"http://www.bbc.co.uk/news/science-environment-33524589"}
https://hacker-news.firebaseio.com/v0/topstories.json
[15289689,15290117,15290607,15288486,15290200,15289676,15289654,15290687,15287376,15290718,15288720,15289564,15289766,15284976,15288120,15289917,15285402,15289431,15290525,15290707,15289221,15287723,15281914,15286956,15288920,15289636,15285927,15287989,15288499,15287100,15286463,15285380,15286783,15289747,15286969,15285112,15289437,15285514,15289228,15289397,15286204,15281364,15289438,15285319,15278883,15290247,15282766,15290732,15284417,15290547,15288273,15282132,15289446,15285264,15290364,15288333,15288555,15281455,15285970,15281522,15276833,15282469,15289588,15280961,15289044,15283928,15285832,15290344,15275972,15280064,15278160,15284020,15285639,15274110,15288168,15289789,15277604,15286089,15281137,15289613,15268726,15272152,15288733,15282535,15284252,15287929,15277351,15281157,15281061,15278063,15288654,15290130,15274423,15281532,15268720,15275277,15283947,15274509,15270189,15278530,15277384,15279951,15278480,15276357,15285684,15288638,15277244,15274339,15275443,15282148,15275182,15274848,15282234,15287634,15272374,15288200,15279424,15281506,15278151,15278344,15280736,15274058,15265507,15279307,15271863,15274756,15276926,15280671,15287966,15276783,15270133,15275145,15275271,15271430,15276976,15274553,15273228,15283441,15272394,15281095,15276411,15278752,15278147,15275026,15279359,15289116,15277834,15280753,15286454,15273846,15270799,15283420,15278126,15283900,15274943,15280227,15272413,15272759,15281390,15281977,15287977,15271160,15287898,15282509,15278488,15284942,15279840,15274644,15267022,15274186,15269360,15269628,15277622,15275281,15270087,15273262,15265753,15274211,15271124,15272245,15274944,15274123,15277262,15266331,15289725,15276401,15272721,15282195,15268944,15286201,15282334,15269367,15284406,15268843,15271611,15270263,15273487,15273636,15269827,15277994,15275380,15285759,15286212,15279442,15280281,15277932,15272422,15267111,15269835,15282446,15264191,15285414,15276913,15266018,15285231,15280709,15263054,15265477,15281981,15281111,15271254,15285166,15261963,15261691,15270606,15284858,15284722,15285384,15266136,15262620,15270110,15272894,15263840,15281776,15260384,15262829,15283855,15279202,15262969,15264915,15284669,15282930,15280507,15260721,15278887,15271385,15261795,15265936,15268603,15261666,15284283,15270158,15262440,15267740,15271316,15269484,15277302,15266441,15266439,15269253,15265356,15264169,15285349,15265538,15285323,15259041,15278907,15261318,15285077,15278498,15288002,15270188,15283440,15278325,15278360,15260350,15266043,15265246,15277669,15281909,15268037,15279019,15271235,15280178,15288389,15261525,15277946,15260411,15269580,15276813,15270103,15260932,15265589,15258547,15271214,15282388,15272888,15274150,15269493,15269723,15272162,15264997,15262326,15275826,15263423,15268218,15265157,15262218,15267576,15272453,15258446,15273220,15277451,15271862,15280090,15269851,15268701,15265000,15270496,15273623,15267493,15278158,15268045,15262729,15260018,15265009,15278196,15259758,15269184,15264989,15280690,15270515,15288365,15282559,15267146,15286418,15261776,15268113,15282372,15263744,15270355,15267102,15262663,15285508,15276202,15264813,15267516,15264588,15269477,15270821,15271934,15280853,15280852,15270257,15269188,15272748,15280735,15267719,15275051,15279378,15281877,15278546,15270678,15272933,15262036,15280446,15258457,15274840,15267122,15272816,15261771,15267379,15264354,15272620,15281583,15263675,15276690,15266329,15266750,15279503,15262048,15264091,15283313,15279234,15271737,15278873,15259447,15259474,15274193,15266106,15267532,15265637,15259256,15262717,15269202,15265278,15276305,15277933,15265221,15271799,15266935,15262606,15272529,15273450,15268183,15279883,15260957,15264863,15272758,15269198,15260886,15263611,15272448,15261213,15263575,15272144,15267747,15272926,15271533,15262660,15277093,15267742,15260297,15269387,15273655,15267925,15261925,15263343,15270239,15271144,15265937,15275017,15263505,15267828,15264053,15267628,15268794,15263869,15278008,15262948,15267806,15259060,15261562,15261857,15271821,15271242,15267794,15260814,15264350,15261459,15282967,15280107,15267968,15264342,15263253,15271676,15258682,15269532,15271071,15264219,15267520,15259454,15270787,15261709,15266479,15260989,15261744,15262013,15267437,15267219,15261053,15262070,15264747,15259195,15268368,15281499,15262172,15264129,15268136,15268034,15264071,15259287,15267685,15263398,15259337,15267274,15267159,15263083,15262987,15266149,15265292,15260285,15260059,15259724,15258553,15263576,15260752,15263537,15263522,15263312]
from pcc.
Thanks for spending precious time to answer my question.
I'm confirm that the upper links are work good in your example.
Maybe the sites were blocked in my company or country. I'll have a try in my home.
Python Crash Course is a very interesting book. Thank your book!
from pcc.
Related Issues (20)
- Chapter 17. hn_submissions.py, KeyError HOT 3
- Chapter 12, differences in book and repository code HOT 2
- Chapter 13 - The Aliens cannot move in the X axis HOT 2
- Chapter10: remenber_me.py JSONDecodeError HOT 1
- Missing license HOT 2
- Chapter 11, test_name_function.py - "if __name__ == '__main__'" missing HOT 1
- ch12 somewhere i don't understand,please help me! HOT 3
- Chapter 18 urls.py incompatible with Django2 HOT 2
- On MacOS, Chapter 12, I don't see a spaceship HOT 5
- Chapter 16 pygal_maps_world 1.02 HOT 1
- chapter17 python_repos.py HOT 3
- Chapter12/bullet.py, the bullet appears in the top of screen HOT 1
- Chapter 10. Task 10-6. Addition. HOT 1
- Several interface changed in python. HOT 1
- D6+D10 HOT 1
- Chapter 19 - cannot import name 'login' from 'django.contrib.auth.views' HOT 1
- chapter_14/button.py HOT 1
- learning_logs.url preventing server from starting HOT 1
- Chapter 10 : Birthday in Pi HOT 1
- Chapter 17 Status code 425 HOT 6
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 pcc.