mirror of
https://github.com/JoseDeFreitas/awesome-youtubers.git
synced 2024-10-01 01:06:03 -04:00
Try requests
This commit is contained in:
parent
d0d687325c
commit
6e25769bb0
@ -1,4 +1,4 @@
|
|||||||
from rules.content_about import content_about
|
# from rules.content_about import content_about
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
@ -6,21 +6,8 @@ def main():
|
|||||||
Main function. Used specifically to call print results
|
Main function. Used specifically to call print results
|
||||||
by calling functions into rules/.
|
by calling functions into rules/.
|
||||||
"""
|
"""
|
||||||
# if len(youtubers_names.youtubers_name_errors_nums) == 0:
|
|
||||||
# print("Every YouTubers names are good.", "\n")
|
|
||||||
# else:
|
|
||||||
# print("'YouTubers name' errors:\n", '\n'.join(["Error at line {}: there should be a trailing '\\'.".format(i) for i in youtubers_names.youtubers_name_errors_nums]), "\n")
|
|
||||||
|
|
||||||
if len(content_about()) == 0:
|
pass
|
||||||
print("Every 'Content about' sections are good.")
|
|
||||||
else:
|
|
||||||
print("There are some errors")
|
|
||||||
# print("'Content about' errors:\n", '\n'.join(["Error at line {}: there should be a trailing '\\'.".format(i) for i in content_about()]), "\n")
|
|
||||||
|
|
||||||
# if len(featured_playlists.featured_playlists_errors_nums) == 0:
|
|
||||||
# print("Every 'Featured playlists' sections are good.")
|
|
||||||
# else:
|
|
||||||
# print("'Featured playlists' errors:\n", '\n'.join(["Error at line {}: there should be a trailing '\\'.".format(i) for i in featured_playlists.featured_playlists_errors_nums]))
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user