Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: get_page() got an unexpected keyword argument 'method' #3

Open
authentic7 opened this issue May 25, 2020 · 1 comment
Open
Assignees

Comments

@authentic7
Copy link

Hi @pensnarik!
get_page method in extract_people_from_cast_page (line245, film.py ) does not work.
page = self.get_page(url, method='POST', salt=str(start_list),
data={'start_list': start_list})

could you pls share how do you reuse get_page method from BasicParser class? (https://github.com/pensnarik/parselab/blob/master/parselab/parsing.py)

@pensnarik pensnarik self-assigned this May 26, 2020
@pensnarik
Copy link
Owner

Hi. I think it's because of using named salt parameter which is no longer exist is BasicParser.get_page(). Thanks you for your feedback, I will fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants