Giter Club home page Giter Club logo

Comments (7)

zhihuya avatar zhihuya commented on June 1, 2024

使用的蓝灯
HTTP(S)代理服务器:127.0.0.1:14225
SOCKS代理服务器:127.0.0.1:14226
请问该怎么配置

from tumblr-crawler.

dixudx avatar dixudx commented on June 1, 2024
{
    "http": "socks5://127.0.0.1:14226",
    "https": "socks5://127.0.0.1:14226"
}

Please refer to 代理配置

from tumblr-crawler.

zhihuya avatar zhihuya commented on June 1, 2024

F:\PycharmProjects\tumblr\tumblr-crawler (master)
$ python tumblr-photo-video-ripper.py
You are using proxies.
{'http': 'socks5://127.0.0.1:14226', 'https': 'socks5://127.0.0.1:14226'}
Traceback (most recent call last):
File "C:\Python35\lib\site-packages\xmltodict.py", line 309, in parse

parser.ParseFile(xml_input)

TypeError: argument must have 'read' attribute

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "tumblr-photo-video-ripper.py", line 285, in
CrawlerScheduler(sites, proxies=proxies)
File "tumblr-photo-video-ripper.py", line 149, in init
self.scheduling()
File "tumblr-photo-video-ripper.py", line 162, in scheduling
self.download_media(site)
File "tumblr-photo-video-ripper.py", line 165, in download_media
self.download_photos(site)
File "tumblr-photo-video-ripper.py", line 176, in download_photos
self._download_media(site, "photo", START)
File "tumblr-photo-video-ripper.py", line 194, in _download_media
data = xmltodict.parse(response.content)
File "C:\Python35\lib\site-packages\xmltodict.py", line 311, in parse

parser.Parse(xml_input, True)

xml.parsers.expat.ExpatError: no element found: line 1, column 0

from tumblr-crawler.

zhihuya avatar zhihuya commented on June 1, 2024

还是出错了

from tumblr-crawler.

dixudx avatar dixudx commented on June 1, 2024

Please pull the latest code and retry.

from tumblr-crawler.

Jungley8 avatar Jungley8 commented on June 1, 2024

{ "http": "http://127.0.0.1:1080", "https": "https://127.0.0.1:1080" }
用ss代理 配置 这样也ok ,ss不知道怎么配 socks

from tumblr-crawler.

dixudx avatar dixudx commented on June 1, 2024

@Jungley8

For shadowsocks,

{
    "http": "socks5://127.0.0.1:1080",
    "https": "socks5://127.0.0.1:1080"
}

You can find the configuration

from tumblr-crawler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.