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

ExtractCSSPat issue on search results #48

Open
hamedf62 opened this issue Nov 28, 2018 · 2 comments
Open

ExtractCSSPat issue on search results #48

hamedf62 opened this issue Nov 28, 2018 · 2 comments

Comments

@hamedf62
Copy link

Dear Salim;
thank you so much for such great efforts and useful package!

i have an issue in crawling and data gathering in search result pages.

in ExtractCSSPat mentioned few CSS rules but some of the pages doesn't include the required data and CSS is not available on them.

below error would occured:
Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, :
arguments imply differing number of rows: 1, 0
In addition: Warning messages:
1: In UseMethod("xml_remove") :
closing unused connection 7 (<-DESKTOP-K73RC4R:11502)
2: In UseMethod("xml_remove") :
closing unused connection 6 (<-DESKTOP-K73RC4R:11502)
3: In UseMethod("xml_remove") :
closing unused connection 5 (<-DESKTOP-K73RC4R:11502)
4: In UseMethod("xml_remove") :
closing unused connection 4 (<-DESKTOP-K73RC4R:11502)
5: In UseMethod("xml_remove") :
closing unused connection 3 (C:/Users/Hamed/Documents/tripadvisor.com-281027/extracted_data.csv)

****i though its possible to put a conditional statement to check if the CSS tag is not available then return null in data set.

@hamedf62
Copy link
Author

Dear Salim
i did two important correction in source, wish to contact you to explain.

regards

@salimk
Copy link
Owner

salimk commented Nov 30, 2018 via email

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