codingLearner99
codingLearner99

Reputation: 51

'PipeTransport' object has no attribute '_output' - error

I keep on getting the error: 'PipeTransport' object has no attribute '_output' I was following the youtube tutorial: https://www.youtube.com/watch?v=0wO7K-SoUHM&list=PLRzwgpycm-Fjvdf7RpmxnPMyJ80RecJjv&index=14&ab_channel=JohnWatsonRooney

And the link I was scraping was: https://jobs.goodlifefitness.com/listjobs/

the code I used was:

import scrapy

class JobsSpider(scrapy.Spider):
name = 'jobs'

def start_requests(self):
    yield scrapy.Request('https://jobs.goodlifefitness.com/listjobs/',
                         meta={'playwright': True})

def parse(self, response):
    yield{
        'text': response.text
    }

Upvotes: 4

Views: 1955

Answers (1)

Egor Stadnichuk
Egor Stadnichuk

Reputation: 61

I had the same error while executing a similar code. In my case, the log also contained NotImplementedError. I was running the code on Windows 10. It turns out, that scrapy-playwright does not support Windows. I checked on Linux, it works fine.

Upvotes: 6

Related Questions