Added exception handling for invalid URLs, Now contains all the posts