foyou

Results 107 comments of foyou

Sorry, I'm not familiar with how to add a test, you can modify this PR in place, thanks 🌹🌹 .

_myspider.py_ ```python import logging import scrapy from scrapy.cmdline import execute class BlogSpider(scrapy.Spider): name = 'blog' start_urls = ['https://www.zyte.com/blog/'] def parse(self, response, **kwargs): for title in response.css('.oxy-post-title'): yield {'title': title.css('::text').get()} for...

After accepting this PR, the code works fine and it is sometimes more convenient to set the parameters directly using the dictionary, which newcomers may not know they need the...

Okay, thank you very much for taking the time to reply to me.

I found an identical code: [crawler.py#L46-L47](https://github.com/scrapy/scrapy/blob/master/scrapy/crawler.py#L46-L47)

```python from aligo import Aligo if __name__ == '__main__': ali = Aligo() x = ali.upload_file(r"C:\Users\foyou\Pictures\ROG_wallpaper_G.A.M.E.R.s-Squad_4k.jpg") print(x) x = ali.get_file(x.file_id) print(x.download_url) ```

@Deain ![image](https://user-images.githubusercontent.com/35125624/183112223-9a218fc6-bbe0-4f19-bcc1-ec78204923df.png) ![image](https://user-images.githubusercontent.com/35125624/183112408-339a1020-6c01-450e-8596-e07384427d21.png)