To provide some contrast, the same govt amended a law originally designed to prohibit foreign funding of political parties and changed it to allow funding from local companies which have more than 50% foreign ownership.
So basically political parties can indirectly accept foreign funds through above loophole which the ruling party itself created but news organizations cannot.
“ the controlling Bharatiya Janata Party government passed a retroactive amendment through a 2016 Finance Bill that excludes from the definition of “foreign sourced” contributions from local companies even though a foreign company owns more than half their shares, provided certain direct investment requirements are met”
Source: https://www.loc.gov/law/help/elections/foreign-involvement/i...