Python Web Scraping: Get the number of Pinterest accounts maintained by US state department embassies and missions
Write a Python program to get the number of Pinterest accounts maintained by U.S. State Department embassies and missions.
Source: https://www.state.gov/r/pa/ode/socialmedia/
Sample Solution:
Python Code:
Sample Output:
The number of Pinterest accounts maintained by U.S. State Department embassies and missions: 3
Flowchart:
Python Code Editor:
Have another way to solve this solution? Contribute your code (and comments) through Disqus.
Previous: Write a Python program get the number of security alerts issued by US-CERT in the current year.
Next: Write a Python program to get the number of followers of a given twitter account.
What is the difficulty level of this exercise?
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics