switching between api and scrapping