creativecommons / quantifying

quantify the size and diversity of the commons--the collection of works that are openly licensed or in the public domain
MIT License
22 stars 30 forks source link

[Feature] add main function and exception handling to flickr scripts #21

Closed TimidRobot closed 1 year ago

TimidRobot commented 1 year ago

Problem

photos.py is missing main function and exception handling: https://github.com/creativecommons/quantifying/blob/5f37a3b5a6974f69fc32b98c34c8e1268acc5b3e/flickr/photos.py#L8-L21

photos_detail.py is missing exception handling: https://github.com/creativecommons/quantifying/blob/5f37a3b5a6974f69fc32b98c34c8e1268acc5b3e/flickr/photos_detail.py#L255-L266

Description

Add a main function and exception handling. See data_cleaning.py, for example: https://github.com/creativecommons/quantifying/blob/5f37a3b5a6974f69fc32b98c34c8e1268acc5b3e/flickr/data_cleaning.py#L59-L80

Additional context