Controversial new copyright laws have been approved by members of the European Parliament.
The laws had been changed since July when the first version of the copyright directive was voted down. Critics say they remain problematic.
Many musicians and creators claim the reforms are necessary to fairly compensate artists.
But opponents fear that the plans could destroy user-generated content, memes and parodies.
Leaders of the EU’s member states still need to sign off on the rule changes before the individual countries have to draft local laws to put them into effect.
The vote in Strasbourg was 438 in favour of the measures, 226 against and 39 abstentions.
MEPs voted on a series of changes to the original directive, the most controversial parts are known as Article 13 and Article 11.
Article 13 puts the onus on web giants to take measures to ensure that agreements with rights-holders for the use of their work are working.
Critics say that would require all internet platforms to filter content put online by users, which many believe would be an excessive restriction on free speech.
Article 11 is also controversial because it forces online platforms to pay news organisations before linking to their stories, something critics refer to a “link tax”.
Axel Voss, the German MEPs in charge of overhauling the copyright rules has made his own amendments, including removing small tech firms from facing certain obligations when striking licensing agreements with rights-holders.
He has also attempted to clarify how members countries would mediate between net firms and rights-holders when they flag infringements.
Earlier this week YouTube weighed in on the debate. Its chief business officer Robert Kyncl said that the one of the most controversial elements of the law – Article 13 – risked “discouraging or even prohibiting platforms from hosting user-generated content”.
Musician Wyclef Jean also spoke out against the directive, appealing to MEPs to “embrace and improve the internet, rather than attempt to block and hinder it”.
But many other musicians, including Sir Paul McCartney had expressed their support for the changes.