FeedSource.find_or_create_by(feed_type: 'general', name: 'AMBCrypto', feed_url: 'https://ambcrypto.com/feed/', site_hostname: 'ambcrypto.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'ALTCOIN.media', feed_url: 'http://altcoin.media/feed/', site_hostname: 'altcoin.media')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Altcoin Today', feed_url: 'https://altcointoday.com/feed/', site_hostname: 'altcointoday.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'BTC Manager', feed_url: 'https://btcmanager.com/feed/', site_hostname: 'btcmanager.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Bitcoin Magazine', feed_url: 'https://bitcoinmagazine.com/feed/', site_hostname: 'bitcoinmagazine.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Bitcoin News', feed_url: 'https://news.bitcoin.com/feed/', site_hostname: 'www.bitcoin.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Bitcoinist', feed_url: 'http://bitcoinist.com/feed/', site_hostname: 'bitcoinist.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Bitfalls', feed_url: 'https://bitfalls.com/feed/', site_hostname: 'bitfalls.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Coin Insider', feed_url: 'https://www.coininsider.com/feed/', site_hostname: 'www.coininsider.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'CoinSpectator Blog', feed_url: 'https://blog.coinspectator.com/feed/', site_hostname: 'blog.coinspectator.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'CoinCap', feed_url: 'http://news.coincap.io/feed/', site_hostname: 'news.coincap.io')
FeedSource.find_or_create_by(feed_type: 'general', name: 'CoinDesk', feed_url: 'https://www.coindesk.com/feed/', site_hostname: 'www.coindesk.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Coingape', feed_url: 'https://coingape.com/feed/', site_hostname: 'coingape.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'CoinJournal', feed_url: 'https://coinjournal.net/feed/', site_hostname: 'coinjournal.net')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Cointelegraph', feed_url: 'https://cointelegraph.com/feed', site_hostname: 'cointelegraph.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Coindoo', feed_url: 'https://coindoo.com/feed/', site_hostname: 'coindoo.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'CoinSpeaker', feed_url: 'https://www.coinspeaker.com/feed', site_hostname: 'www.coinspeaker.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Crypto Answers', feed_url: 'https://cryptoanswers.net/feed/', site_hostname: 'cryptoanswers.net')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Crypto Insider', feed_url: 'https://cryptoinsider.com/content/feed/', site_hostname: 'cryptoinsider.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Crypto Briefing', feed_url: 'https://cryptobriefing.com/feed/', site_hostname: 'cryptobriefing.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Crypto Daily', feed_url: 'https://cryptodaily.co.uk/feed/', site_hostname: 'cryptodaily.co.uk')
FeedSource.find_or_create_by(feed_type: 'general', name: 'CryptoNinjas', feed_url: 'https://www.cryptoninjas.net/feed/', site_hostname: 'www.cryptoninjas.net')
FeedSource.find_or_create_by(feed_type: 'general', name: 'CryptoPost', feed_url: 'http://cryptopost.com/feed/', site_hostname: 'cryptopost.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Cryptovest', feed_url: 'https://cryptovest.com/feed/', site_hostname: 'cryptovest.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'ETHNews', feed_url: 'https://www.ethnews.com/rss.xml', site_hostname: 'www.ethnews.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Ethereum World News', feed_url: 'https://ethereumworldnews.com/feed/', site_hostname: 'ethereumworldnews.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'ForkLog', feed_url: 'http://forklog.net/feed/', site_hostname: 'forklog.net')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Howtotoken', feed_url: 'https://howtotoken.com/feed/', site_hostname: 'howtotoken.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Invest In Blockchain', feed_url: 'https://www.investinblockchain.com/feed/', site_hostname: 'www.investinblockchain.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Live Bitcoin News', feed_url: 'http://www.livebitcoinnews.com/feed/', site_hostname: 'www.livebitcoinnews.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'NewsBTC', feed_url: 'https://www.newsbtc.com/feed/', site_hostname: 'www.newsbtc.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'The Bitcoin News', feed_url: 'https://thebitcoinnews.com/feed/', site_hostname: 'thebitcoinnews.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'The Daily Hodl', feed_url: 'https://dailyhodl.com/feed/', site_hostname: 'dailyhodl.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'Trustnodes', feed_url: 'https://www.trustnodes.com/feed', site_hostname: 'www.trustnodes.com')
FeedSource.find_or_create_by(feed_type: 'general', name: 'UseTheBitcoin', feed_url: 'https://usethebitcoin.com/feed/', site_hostname: 'usethebitcoin.com')

industries_names = [
  'Advertising & Marketing',
  'Artificial Intelligence',
  'Banking',
  'Blockchain',
  'Blockchain tools',
  'Cloud Storage',
  'Crowdfunding',
  'CryptoFund',
  'Currency',
  'Data',
  'Energy',
  'Exchange',
  'Finance',
  'Gambling',
  'Gaming',
  'Healthcare',
  'Insurance',
  'Identity',
  'IOT',
  'Logistics',
  'Marketplace',
  'Media',
  'Mining',
  'Mobile',
  'Network',
  'Payments',
  'Protocol',
  'Real Assets',
  'Real Business',
  'Real Estate',
  'Security',
  'Social',
  'Ticketing',
  'Trading',
  'Virtual Reality',
  'Voting'
]

industries_names.each do |name|
  CoinIndustry.find_or_create_by!(name: name)
end

news_category_names = [
  'Regulatory',
  'ICO',
  'Exchange Announcements',
  'Market Research',
  'Project Announcements',
  'Price Analysis',
]
news_category_names.each do |name|
  NewsCategory.find_or_create_by!(name: name)
end

# Add decentralized exchanges for ELDA not listed in CCXT
Exchange.find_or_create_by(name: 'IDEX', www_url: 'https://idex.market/')
Exchange.find_or_create_by(name: 'EtherDelta', www_url: 'https://etherdelta.com/')
Exchange.find_or_create_by(name: 'ForkDelta', www_url: 'https://forkdelta.github.io/')
