✅My script is directly executed...
✅Connexion réussie!
✅content brut:
b'{"date":"2019-10-16","explanation":"How do binary stars form? To help find out, ESO\'s Atacama Large Millimeter Array (ALMA) recently captured one of the highest resolution images yet taken of a binary star system in formation. Most stars are not alone -- they typically form as part of a multiple star systems where star each orbits a common center of gravity. The two bright spots in the featured image are small disks that surround the forming proto-stars in [BHB2007] 11, while the surrounding pretzel-shaped filaments are gas and dust that have been gravitationally pulled from a larger disk. The circumstellar filaments span roughly the radius of the orbit of Neptune. The BHB2007 system is a small part of the Pipe Nebula (also known as Barnard 59), a photogenic network of dust and gas that protrudes from Milky Way\'s spiral disk in the constellation of Ophiuchus. The binary star formation process should be complete within a few million years.","hdurl":"https://apod.nasa.gov/apod/image/1910/BabyBinary_Alma_1881.jpg","media_type":"image","service_version":"v1","title":"BHB2007: A Baby Binary Star in Formation","url":"https://apod.nasa.gov/apod/image/1910/BabyBinary_Alma_960.jpg"}\n'
<class 'tuple'>
✅Apod_data_json brut:
{'date': '2019-10-16', 'explanation': "How do binary stars form? To help find out, ESO's Atacama Large Millimeter Array (ALMA) recently captured one of the highest resolution images yet taken of a binary star system in formation. Most stars are not alone -- they typically form as part of a multiple star systems where star each orbits a common center of gravity. The two bright spots in the featured image are small disks that surround the forming proto-stars in [BHB2007] 11, while the surrounding pretzel-shaped filaments are gas and dust that have been gravitationally pulled from a larger disk. The circumstellar filaments span roughly the radius of the orbit of Neptune. The BHB2007 system is a small part of the Pipe Nebula (also known as Barnard 59), a photogenic network of dust and gas that protrudes from Milky Way's spiral disk in the constellation of Ophiuchus. The binary star formation process should be complete within a few million years.", 'hdurl': 'https://apod.nasa.gov/apod/image/1910/BabyBinary_Alma_1881.jpg', 'media_type': 'image', 'service_version': 'v1', 'title': 'BHB2007: A Baby Binary Star in Formation', 'url': 'https://apod.nasa.gov/apod/image/1910/BabyBinary_Alma_960.jpg'}
Print self.apod_data_json['date']: 2019-10-16
<class 'dict'>
✅Ajout de la clé copyright
{'date': '2019-10-16', 'explanation': "How do binary stars form? To help find out, ESO's Atacama Large Millimeter Array (ALMA) recently captured one of the highest resolution images yet taken of a binary star system in formation. Most stars are not alone -- they typically form as part of a multiple star systems where star each orbits a common center of gravity. The two bright spots in the featured image are small disks that surround the forming proto-stars in [BHB2007] 11, while the surrounding pretzel-shaped filaments are gas and dust that have been gravitationally pulled from a larger disk. The circumstellar filaments span roughly the radius of the orbit of Neptune. The BHB2007 system is a small part of the Pipe Nebula (also known as Barnard 59), a photogenic network of dust and gas that protrudes from Milky Way's spiral disk in the constellation of Ophiuchus. The binary star formation process should be complete within a few million years.", 'hdurl': 'https://apod.nasa.gov/apod/image/1910/BabyBinary_Alma_1881.jpg', 'media_type': 'image', 'service_version': 'v1', 'title': 'BHB2007: A Baby Binary Star in Formation', 'url': 'https://apod.nasa.gov/apod/image/1910/BabyBinary_Alma_960.jpg', 'copyright': 'Donnée non fournie'}
✅Apod_data_json avec format:
Copyright: Donnée non fournie
Titre: BHB2007: A Baby Binary Star in Formation
Date: 2019-10-16
Explanation: How do binary stars form? To help find out, ESO's Atacama Large Millimeter Array (ALMA) recently captured one of the highest resolution images yet taken of a binary star system in formation. Most stars are not alone -- they typically form as part of a multiple star systems where star each orbits a common center of gravity. The two bright spots in the featured image are small disks that surround the forming proto-stars in [BHB2007] 11, while the surrounding pretzel-shaped filaments are gas and dust that have been gravitationally pulled from a larger disk. The circumstellar filaments span roughly the radius of the orbit of Neptune. The BHB2007 system is a small part of the Pipe Nebula (also known as Barnard 59), a photogenic network of dust and gas that protrudes from Milky Way's spiral disk in the constellation of Ophiuchus. The binary star formation process should be complete within a few million years.
UrlHdImage:
https://apod.nasa.gov/apod/image/191..._Alma_1881.jpg
UrlImageSlow:
https://apod.nasa.gov/apod/image/191...y_Alma_960.jpg
[Finished in 1.153s]
Partager