GithubHelp home page GithubHelp logo

content_downloader's People

Contributors

btorresgil avatar nembery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

content_downloader's Issues

2020 - Content Downloading URL/Function changes

Seems like there may be a functional change, not sure if you see the same?

I can manually login and download content, and configured the user/pass, and company ID in the .conf file, but the script (if I am reading it right) is falling through at 187, where it verifies the match = re.search returns a non-None value.

WF-500 content

Hi,

would it be possible to add a feature for wf-500 content as well?

/kristian

Error during checking on updates

Hi, i tried your code:

$ python content_downloader.py -v -p antivirus

Checking for new content updates: antivirus
 Not logged in.
 Logging in
 Checking for new content updates (2nd attempt)
Traceback (most recent call last):
  File "content_downloader.py", line 287, in <module>
    main()
  File "content_downloader.py", line 257, in main
    token, updates = content_downloader.check()
  File "content_downloader.py", line 172, in check
    updates = json.loads(match.group(1))
AttributeError: 'NoneType' object has no attribute 'group'

Effect is about the same without -p parameter.

After little investigation I found out, that the last requested page does not contain the pattern with data json:

"data":({"Data":.*?"Total":\d+,"AggregateResults":null})

or anyhing like it. However the response contain this:

<div class="alert alert-error">
        An unexpected error has occurred. Please contact <a href="https://www.paloaltonetworks.com/company/contact-support" target="_blank">support</a>.
    </div>

I belive something is wrong on my end, but I don't know what... The credentials are ok, and it seems it logged in successfuly. I have noticed that You just few days age updated this script so it should work fine. Can You confirm that you can still use this script without problem?

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.